New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

node-typo

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-typo

Auto find the nearest property(or method) name of an wrapped object

latest
npmnpm
Version
1.1.0
Version published
Weekly downloads
3
-25%
Maintainers
1
Weekly downloads
 
Created
Source

Typo

妈妈再也不用担心我写错属性(方法)名啦!

Build Status Code Climate Test Coverage Dependency Status

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

Keywords

typo

FAQs

Package last updated on 27 Dec 2014

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