Protoblast
Extend native objects with helpful methods to speed up development,
or leave the native objects alone and use bound methods.
Installation
$ npm install protoblast
Documentation
For more information and API documentation, visit the Protoblast homepage.
Getting Started
You can use Protoblast in 2 ways.
Modify the native prototypes
This is the easiest way to use all the new methods & shims.
Ideal for internal or big projects.
require('protoblast')();
var str = 'Get what we want';
str.after('what');
Use bound functions
You can also get an object that has pre-bound all the new methods,
without modifying anything.
It's more verbose, but should be the way to use Protoblast in redistributable
modules.
var Blast = require('protoblast')(false);
var str = 'Get what we want';
Blast.Bound.String.after(str, 'what');