@jimp/custom
Advanced tools
Comparing version 0.5.0 to 0.5.1
{ | ||
"name": "@jimp/custom", | ||
"version": "0.5.0", | ||
"version": "0.5.1", | ||
"description": "Interface to customize jimp configuration", | ||
@@ -19,3 +19,3 @@ "main": "dist/index.js", | ||
"dependencies": { | ||
"@jimp/core": "^0.5.0", | ||
"@jimp/core": "^0.5.1", | ||
"core-js": "^2.5.7" | ||
@@ -26,3 +26,3 @@ }, | ||
}, | ||
"gitHead": "fbbe0b7da5a9dcf8da35e2dfb2e8265ca850435c" | ||
"gitHead": "b23ab92550336eed5d4ac422564c7c63ea280c73" | ||
} |
@@ -8,2 +8,19 @@ <div align="center"> | ||
## Useful Defaults | ||
The following wil configure a `jimp` instance with the same functionality as the main `jimp` package. | ||
```js | ||
import configure from '@jimp/custom'; | ||
// all of jimp's default types | ||
import types from '@jimp/types'; | ||
// all of jimp's default types | ||
import plugins from '@jimp/plugins'; | ||
configure({ | ||
types: [types], | ||
plugins: [plugins] | ||
}); | ||
``` | ||
## Available Methods | ||
@@ -10,0 +27,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
24180
197
Updated@jimp/core@^0.5.1