Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/serapath/npm-require

synchronous global require function for the browser to load commonjs modules from a (relative) path, a URL or npm
https://github.com/serapath/npm-require

browser browser-cdn browserify browserify-cdn install npm require

Last synced: 3 days ago
JSON representation

synchronous global require function for the browser to load commonjs modules from a (relative) path, a URL or npm

Awesome Lists containing this project

README

        

# npm-require
synchronous global require function for the browser to load commonjs modules from a (relative) path, a URL or npm

https://www.npmjs.com/package/npm-require

# demo
```html







var minixhr = require('minixhr') // from npm
var pkg = require('./package.json')
var demo = require('./demo') // resolves to `./demo.js`
demo(pkg)

```

# license
MIT