Comparing version 0.4.0 to 0.4.1
{ | ||
"name": "culori", | ||
"version": "0.4.0", | ||
"version": "0.4.1", | ||
"main": "build/culori.js", | ||
@@ -5,0 +5,0 @@ "module": "build/index.js", |
@@ -32,4 +32,31 @@ # Culori | ||
TODO | ||
### Installation | ||
If you're using NPM, you can install culori by running: | ||
```bash | ||
npm install culori | ||
``` | ||
You can either `require` or `import` culori in your project: | ||
```js | ||
// either | ||
var culori = require('culori'); | ||
// or | ||
import { rgb } from 'culori'; | ||
``` | ||
To import culori as a `<script>` tag to use in a web page, load it from unpkg: | ||
* https://unpkg.com/culori@0.4.0/build/culori.js | ||
* https://unpkg.com/culori@0.4.0/build/culori.min.js | ||
If you prefer not to use a Content Delivery Network such as unpkg, just save the one of the JS files linked above to your project. | ||
### Trying it online | ||
You can use [npm.runkit.com/culori](https://npm.runkit.com/culori) as a playground to test various methods in from the API without installing culori in your project. | ||
## API Reference | ||
@@ -36,0 +63,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
158151
357