https://github.com/mastilver/umds
https://github.com/mastilver/umds
Last synced: 6 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/mastilver/umds
- Owner: mastilver
- License: mit
- Created: 2017-04-30T21:55:41.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2020-06-03T09:18:13.000Z (about 6 years ago)
- Last Synced: 2025-10-25T16:11:10.215Z (9 months ago)
- Language: JavaScript
- Size: 260 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 12
-
Metadata Files:
- Readme: readme.md
- License: license
Awesome Lists containing this project
README
# umds [](https://travis-ci.org/mastilver/umds) [](https://greenkeeper.io/)
> Umdify node modules
## Usage
### ES modules
```html
My app
import objectAssign from 'https://unpkg.com/@umds/object-assign';
console.log(objectAssign({one: 1}, {two: 2}));
```
### RequireJs / AMD
```html
My app
requirejs(['object-assign'], (objectAssign) => {
console.log(objectAssign({one: 1}, {two: 2}));
});
```
### Global
```html
My app
console.log(window['object-assign']({one: 1}, {two: 2}));
```
## Contributing
You can umdify any modules by editing: `umds.json`
## License
MIT © [Thomas Sileghem](http://mastilver.com)