Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kjirou/npm-wantit
Execute "require" without MODULE_NOT_FOUND error
https://github.com/kjirou/npm-wantit
Last synced: 12 days ago
JSON representation
Execute "require" without MODULE_NOT_FOUND error
- Host: GitHub
- URL: https://github.com/kjirou/npm-wantit
- Owner: kjirou
- License: mit
- Created: 2014-09-20T14:42:34.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2021-08-31T07:14:29.000Z (about 3 years ago)
- Last Synced: 2023-12-09T09:51:58.524Z (11 months ago)
- Language: JavaScript
- Homepage: https://www.npmjs.org/package/wantit
- Size: 3.91 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
wantit [![Build Status](https://travis-ci.org/kjirou/npm-wantit.svg?branch=master)](https://travis-ci.org/kjirou/npm-wantit)
======Execute "require" without MODULE_NOT_FOUND error.
## Examples
```
var wantit = require('wantit');// Return "util" module like "require" method
var util = wantit('util');// Error is not occured, it returns null
var moduleNotFound = wantit('module_not_found');
```## Installation
```
npm install wantit
```