prototyped.js 3.0.4
Install from the command line:
Learn more about npm packages
$ npm install @ardalanamini/prototyped.js@3.0.4
Install via package.json:
"@ardalanamini/prototyped.js": "3.0.4"
About this version
Common Typescript ready helpers & prototypes available for both Server-Side and Client-Side applications.
More than 100
useful methods collected in one place
if you have a method you think needs to be a part of this package, feel free to contribute
npm i -s prototyped.js
All documents are available at here
Apply prototypes:
import "prototyped.js/shim";
// or more specificaly...
import "prototyped.js/string/shim";
// or even more specificaly!
import "prototyped.js/string/words/shim";
console.log("hello world!".words()); // ['hello', 'world']
Or just import the methods without causing any side effect:
import words from "prototyped.js/string/words";
console.log(words("hello world!")); // ['hello', 'world']
import string from "prototyped.js/string";
console.log(string.words("hello world!")); // ['hello', 'world']
import pt from "prototyped.js";
console.log(pt.string.words("hello world!")); // ['hello', 'world']
Apply prototypes:
require("prototyped.js/shim");
// or more specificaly...
require("prototyped.js/string/shim");
// or even more specificaly!
require("prototyped.js/string/words/shim");
console.log("hello world!".words()); // ['hello', 'world']
Or just import the methods without causing any side effect:
const words = require("prototyped.js/string/words").default;
console.log(words("hello world!")); // ['hello', 'world']
const string = require("prototyped.js/string").default;
console.log(string.words("hello world!")); // ['hello', 'world']
const pt = require("prototyped.js").default;
console.log(pt.string.words("hello world!")); // ['hello', 'world']
We use SemVer for versioning. For the versions available, see the releases on this repository.
- Ardalan Amini - Core Maintainer - @ardalanamini
See also the list of contributors who participated in this project.
This project is licensed under the MIT License - see the LICENSE file for details
Details
- prototyped.js
- ardalanamini
- over 2 years ago
- MIT
- 14 dependencies
Assets
- prototyped.js-3.0.4-npm.tgz
Download activity
- Total downloads 0
- Last 30 days 0
- Last week 0
- Today 0