Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
55 lines (37 sloc) 1005 Bytes

Installation

node.js

To use it in node.js you must have npm or yarn installed.

npm install dop
yarn add dop

Then you just have to require the library in your script.

const dop = require('dop')

Browsers

If you are using ES6 and you already have installed the package

import dop from 'dop'
With a CDN you have to include the library in your html. We recommend to use unpkg.

For the latest minified version

<script src="https://unpkg.com/dop"></script>

For the latest unminified version

<script src="https://unpkg.com/dop/dist/dop.js"></script>

For a specific minified version

<script src="https://unpkg.com/dop@X.X.X/dist/dop.min.js"></script>

For a specific unminified version

<script src="https://unpkg.com/dop@X.X.X/dist/dop.js"></script>

Next step

Register object