0.1.0 • Published 5 years ago
additional.js v0.1.0
additional.js
Additional.js adds useful Javascript methods, that are not implemented in Javascript (yet). It's built for both node.js and the web.
Installation
$ npm install additional.js
How to use
To activate additional.js, simply require it.
require('additional.js');
If you are in a browser, implement it like so:
<script src="./node_modules/additional.js/additional.js"></script>
What is additional.js doing?
For example, there is <String>.capitalize()
. Here is how it could be used:
var name = document.getElementById("name").value;
console.log("Hello, " + name.capitalize());
To see everything that additional.js can, visit the wiki.