Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,20 @@ Here's a simple example of an animation that fades and scales a `<div>`.
</script>
```

Install
-----------

Install the [npm](https://www.npmjs.com/package/web-animations-js) package:

`npm install web-animations-js`

then use web-animation-js as either a CommonJS or an ES2015 module:

CommonJS module: `require('web-animation-js')`
or ES2015 module: `import 'web-animation-js'`

This will requires a module bundler such as [Browserify](http://browserify.org/), [Webpack](https://webpack.js.org), or [Rollup](https://rollupjs.org/).

Documentation
-------------

Expand Down