node-typo
v1.1.0
Published
Auto find the nearest property(or method) name of an wrapped object
Downloads
4
Readme
Typo
妈妈再也不用担心我写错属性(方法)名啦!
Install
npm install node-typo
To use this module you must be running node 0.11.13 or higher for proxy support
Usage
var typo = require('node-typo');
var fs = typo.wrap(require('fs'));
console.log(fs.exist === fs.exists); // true
console.log(fs.exsit === fs.exists); // true
console.log(fs.exsiiiiit === fs.exists); // false
WARN
DON'T USE THIS MODULE IN PRODUCTION