New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@burst/lerp

Package Overview
Dependencies
Maintainers
7
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@burst/lerp - npm Package Compare versions

Comparing version 0.0.12 to 0.0.13

dist/lerp.d.ts

8

dist/index.js

@@ -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 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc