javascript-syntax-extender
v0.1.0
Published
A simple way to extend your js or node js syntax
Downloads
1
Readme
javascript-syntax-extender
A simple way to extend your js or node js syntax
Usage
const extender=require('javascript-syntax-extender');
const myLog(...args){
console.log(...args)
}
extender("log", myLog);
log("Hola");
Options
- force (false): Overrides given key if set to true
- strict (true): If set to true, will throw if key already exists