https://github.com/luin/typo
妈妈从此再也不怕我输错属性(方法)名了!
https://github.com/luin/typo
Last synced: over 1 year ago
JSON representation
妈妈从此再也不怕我输错属性(方法)名了!
- Host: GitHub
- URL: https://github.com/luin/typo
- Owner: luin
- License: mit
- Created: 2014-12-27T15:17:32.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2014-12-27T15:46:05.000Z (over 11 years ago)
- Last Synced: 2025-03-18T15:21:34.067Z (over 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 137 KB
- Stars: 12
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Typo
=============
妈妈再也不用担心我写错属性(方法)名啦!

[](https://codeclimate.com/github/luin/typo)
[](https://codeclimate.com/github/luin/typo)
[](https://david-dm.org/luin/typo)
Install
-------
```shell
npm install node-typo
```
To use this module you must be running node 0.11.13 or higher for proxy support
Usage
-----
```javascript
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