Want to see pretty graphs? Log in now!
npm install n8iv
|43||downloads in the last week|
|87||downloads in the last month|
|Last Published By|
|Version||0.3.0 last updated a year ago|
n8iv is based on the awesomeness of prototypejs.
If you like the idea of having one global variable with a bunch of static functions – in no particular order – attached to it, then this is probably not the framework for you.
If, however, you like your methods bound to your types, then come on in and sit a spell!
n8iv will not overwrite any implementations – native or otherwise – of any methods, properties or accessors already defined.
n8iv.js only has one dependency m8.js.
If you are using n8iv within a commonjs module, you don't need to require m8 before requiring n8iv as this is done internally and a reference to m8 is available as:
var n8iv = require( 'n8iv' ), m8 = n8iv.m8; // <= reference to m8 // if running in a sandboxed environment remember to: m8.x( Object, Array, Boolean, Function, String ); // and/ or any other Types that require extending. // alternatively, this does the same and returns the n8iv global n8iv( Object, Array, Boolean, Function, String );
See m8: Extending into the future for more information on working with sandboxed modules.
- n8iv.js ≅ 4.5kb (gzipped)
- n8iv.min.js ≅ 3.1kb (minzipped)
(The MIT License)
Copyright © 2012 christos "constantology" constandinou http://muigui.com
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.