@thesoulfresh/pan-z
Advanced tools
Comparing version 0.0.1 to 1.0.0
{ | ||
"name": "@thesoulfresh/pan-z", | ||
"version": "0.0.1", | ||
"version": "1.0.0", | ||
"private": false, | ||
@@ -95,3 +95,4 @@ "license": "MIT", | ||
"deploy-storybook": "storybook-to-ghpages", | ||
"prepublishOnly": "yarn build" | ||
"prepublishOnly": "yarn build", | ||
"publish-package": "./scripts/release" | ||
}, | ||
@@ -98,0 +99,0 @@ "files": [ |
@@ -1,9 +0,23 @@ | ||
## Deprecated | ||
Deprecated in favor of [`@thesoulfresh/pan-z`](https://www.npmjs.com/package/@thesoulfresh/pan-z). | ||
# A Pan/Zoom library | ||
[docs + demos](https://soulfresh.github.io/pan-zoom?path=/docs/pan-z--pan-z) | ||
## Install | ||
npm install @thesoulfresh/pan-z | ||
## Usage | ||
```js | ||
import PanZ from '@thesoulfresh/pan-z' | ||
// Attach pan/zoom functionality to an HTML element. | ||
const pz = new PanZ(element); | ||
// Remove pan/zoom functionality | ||
pz.destroy(); | ||
``` |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
696503
1
24