@burst/lerp
Advanced tools
Comparing version 0.0.12 to 0.0.13
@@ -1,8 +0,6 @@ | ||
'use strict' | ||
if (process.env.NODE_ENV === 'production') { | ||
module.exports = require('./lerp.cjs.production.min.js') | ||
module.exports = require('./lerp.production.cjs.min.js') | ||
} else { | ||
module.exports = require('./lerp.cjs.development.js') | ||
} | ||
module.exports = require('./lerp.development.cjs.js') | ||
} |
{ | ||
"name": "@burst/lerp", | ||
"version": "0.0.12", | ||
"version": "0.0.13", | ||
"description": "Interpolation", | ||
"author": "Robin Heij <robin@burst-digital.com>", | ||
"homepage": "", | ||
"license": "MIT", | ||
"description": "Lerp function", | ||
"input": "src/lerp.tsx", | ||
"main": "dist/index.js", | ||
"module": "dist/lerp.esm.js", | ||
"types": "dist/index.d.ts", | ||
"jest": { | ||
"setupFiles": [ | ||
"./test/jest.overrides.js" | ||
] | ||
"module": "dist/lerp.min.esm.js", | ||
"types": "dist/lerp.d.ts", | ||
"directories": { | ||
"src": "dist", | ||
"test": "__tests__" | ||
}, | ||
"scripts": { | ||
"start": "tsdx watch", | ||
"build": "tsdx build", | ||
"test": "tsdx test --passWithNoTests && tsc --noEmit" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://gitlab.com/burstdigital/utils/npm-modules.git" | ||
}, | ||
"keywords": [ | ||
"lerp", | ||
"animation" | ||
"files": [ | ||
"dist" | ||
], | ||
"author": "Burst", | ||
"contributors": [ | ||
{ | ||
"name": "Filip van Harreveld", | ||
"email": "filip@burst-digital.com" | ||
}, | ||
{ | ||
"name": "Hanneke Schoone", | ||
"email": "hanneke@burst-digital.com" | ||
} | ||
], | ||
"bugs": { | ||
"url": "https://gitlab.com/burstdigital/utils/npm-modules/issues" | ||
"publishConfig": { | ||
"registry": "https://registry.yarnpkg.com" | ||
}, | ||
"homepage": "https://gitlab.com/burstdigital/utils/npm-modules#readme", | ||
"devDependencies": { | ||
"@burst/ts-config": "0.0.4", | ||
"tsdx": "^0.14.0", | ||
"typescript": "^4.0.3" | ||
"scripts": {}, | ||
"ts-standard": { | ||
"ignore": [ | ||
"dist/" | ||
] | ||
}, | ||
"directories": { | ||
"test": "test" | ||
} | ||
"gitHead": "ba2ff56b00559d66a9723c37c40f637e0a866beb" | ||
} |
@@ -1,18 +0,5 @@ | ||
# @burst/lerp | ||
# `@burst/lerp` | ||
lerp calclulation | ||
This function is used for interpolation. This can be useful when animating. | ||
Lerp, or Linear Interpolation, is a mathematical function that returns a value between two others at a point on a linear scale. | ||
Most commonly it’s used for moving or changing values over a period of time. | ||
Read more about it: | ||
https://codepen.io/rachsmith/post/animation-tip-lerp | ||
## Installation | ||
``` | ||
npm i @burst/lerp --save-dev | ||
``` | ||
## Usage | ||
@@ -19,0 +6,0 @@ |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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 repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
0
11
3414
19
1
2
12
2
1