@cirolee/tiny-motion
Advanced tools
Comparing version 0.1.9 to 0.2.1
{ | ||
"name": "@cirolee/tiny-motion", | ||
"description": "The high-performance extension of Web Animation API for React Hooks", | ||
"version": "0.1.9", | ||
"version": "0.2.1", | ||
"main": "dist/index.js", | ||
@@ -29,12 +29,12 @@ "module": "dist/index.mjs", | ||
"motion", | ||
"tiny-motion" | ||
"@cirolee/tiny-motion" | ||
], | ||
"author": "CiroLee<https://github.com/CiroLee>", | ||
"homepage": "https://tiny-motion.vercel.app", | ||
"homepage": "https://@cirolee/tiny-motion.vercel.app", | ||
"bugs": { | ||
"url": "https://github.com/CiroLee/tiny-motion/issues" | ||
"url": "https://github.com/CiroLee/@cirolee/tiny-motion/issues" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/CiroLee/tiny-motion.git" | ||
"url": "https://github.com/CiroLee/@cirolee/tiny-motion.git" | ||
}, | ||
@@ -41,0 +41,0 @@ "license": "MIT", |
@@ -1,2 +0,2 @@ | ||
# tiny-motion | ||
# @cirolee/tiny-motion | ||
@@ -8,3 +8,3 @@ The high-performance extension of Web Animation API for React Hooks | ||
```bash | ||
npm install tiny-motion | ||
npm install @cirolee/tiny-motion | ||
``` | ||
@@ -20,3 +20,3 @@ | ||
// App.tsx | ||
import { useMotion } from 'tiny-motion'; | ||
import { useMotion } from '@cirolee/tiny-motion'; | ||
@@ -28,3 +28,3 @@ export default function App() { | ||
<div> | ||
<div ref={ref} className="text-3xl">tiny-motion</div> | ||
<div ref={ref} className="text-3xl">@cirolee/tiny-motion</div> | ||
<button onClick={() => motion('swing')}>play</button> | ||
@@ -41,3 +41,3 @@ </div> | ||
```ts | ||
import { useAnimate} from 'tiny-motion;' | ||
import { useAnimate} from '@cirolee/tiny-motion;' | ||
export default function App() { | ||
@@ -76,3 +76,3 @@ const [ ref, animate ] = useAnimate<HTMLDivElement>(); | ||
```ts | ||
import { useGroup, EASING_FUNCTIONS } from 'tiny-motion'; | ||
import { useGroup, EASING_FUNCTIONS } from '@cirolee/tiny-motion'; | ||
@@ -141,3 +141,3 @@ export default function App() { | ||
import { useRef } from 'react'; | ||
import { useMultiple } from 'tiny-motion'; | ||
import { useMultiple } from '@cirolee/tiny-motion'; | ||
@@ -213,3 +213,3 @@ export default function App() { | ||
import { useRef } from 'react'; | ||
import { useLineDraw } from 'tiny-motion'; | ||
import { useLineDraw } from '@cirolee/tiny-motion'; | ||
@@ -259,3 +259,3 @@ export default function App() { | ||
```ts | ||
import { useValue } from 'tiny-motion'; | ||
import { useValue } from '@cirolee/tiny-motion'; | ||
@@ -297,3 +297,3 @@ export default function App() { | ||
```ts | ||
import { useSpring } from 'tiny-motion'; | ||
import { useSpring } from '@cirolee/tiny-motion'; | ||
@@ -300,0 +300,0 @@ export default function App() { |
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
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
Empty package
Supply chain riskPackage does not contain any code. It may be removed, is name squatting, or the result of a faulty package publish.
Found 1 instance in 1 package
85481
7
528
1
3