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

https://github.com/mastilver/umds


https://github.com/mastilver/umds

Last synced: 6 months ago
JSON representation

Awesome Lists containing this project

README

          

# umds [![Build Status](https://travis-ci.org/mastilver/umds.svg?branch=master)](https://travis-ci.org/mastilver/umds) [![Greenkeeper badge](https://badges.greenkeeper.io/mastilver/umds.svg)](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)