Comparing version 3.1.2 to 3.1.3
# CHANGELOG | ||
## 3.1.3 (2018-06-11) | ||
- Browser dist on npm. | ||
## 3.1.2 | ||
@@ -4,0 +7,0 @@ - Better packaging. |
{ | ||
"name": "bitdepth", | ||
"version": "3.1.2", | ||
"version": "3.1.3", | ||
"description": "Change the resolution of samples to and from any bit depth.", | ||
@@ -56,3 +56,4 @@ "homepage": "https://github.com/rochars/bitdepth", | ||
}, | ||
"main": "index.js" | ||
"main": "index.js", | ||
"browser": "./dist/bitdepth-min.js" | ||
} |
@@ -16,2 +16,13 @@ # bitdepth | ||
## Browser | ||
Use the compiled file in the */dist* folder: | ||
```html | ||
<script src="bitdepth-min.js"></script> | ||
``` | ||
Or get it from the [jsDelivr](https://www.jsdelivr.com) CDN: | ||
```html | ||
<script src="https://cdn.jsdelivr.net/npm/bitdepth@3.1.3"></script> | ||
``` | ||
## Use | ||
@@ -35,3 +46,5 @@ Supported bit depths (to and from): | ||
## toBitDepth() | ||
## API | ||
### toBitDepth() | ||
```javascript | ||
@@ -38,0 +51,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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
12915
6
148
84
0