New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

n8iv

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

n8iv

n8iv is an object-oriented & functional programming library – for modern javascript engines – which correctly extends JavaScript Natives, as well as providing other useful Classes. Giving you a – relatively – safe and easy to use API, to help make your code more succinct and efficient.

  • 0.0.1
  • npm
  • Socket score

Version published
Weekly downloads
5
decreased by-78.26%
Maintainers
1
Weekly downloads
 
Created
Source

n8iv.js

n8iv is an object-oriented & functional programming library – for modern javascript engines – which correctly extends JavaScript Natives – using Object.defineProperty. As well as providing other useful Classes. Giving you a – relatively – safe and easy to use API, to help make your code more succinct and efficient.

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 comes in 3 parts:

  • n8iv._.js : is where all the base n8iv functionality – used across the other 2 parts – is defined.
  • n8iv.Fn.js : is where all the extensions to JavaScript's natives takes place.
  • n8iv.Oo.js : is where the n8iv Class system and a few useful Classes are defined.

All of the above are pakaged as a single file: n8iv.js.

If you don't like the idea of extending JavaScript natives, you can still to take advantage of the functionality defined in: n8iv._.js and n8iv.Oo.js.

WARNING!!!

This is an, as yet, untested framework, use at your own risk!

File sizes

n8iv._.js3.4kbdeflate
n8iv._.min.js2.5kbuglified + deflate
n8iv.Fn.js4.0kbdeflate
n8iv.Fn.min.js3.0kbuglified + deflate
n8iv.Oo.js4.4kbdeflate
n8iv.Oo.min.js3.2kbuglified + deflate
n8iv.js10.8kbdeflate
n8iv.min.js8.1kbuglified + deflate

License

(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.

Keywords

FAQs

Package last updated on 11 Mar 2012

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc