cubicbezier
Advanced tools
Comparing version 0.1.1 to 0.1.2
{ | ||
"name": "cubicbezier", | ||
"description": "贝塞尔曲线函数", | ||
"version": "0.1.1", | ||
"description": "function to generate cubicbezier lines.", | ||
"version": "0.1.2", | ||
"contributors": [ | ||
@@ -13,3 +13,3 @@ { | ||
"type": "git", | ||
"url": "" | ||
"url": "https://github.com/MrRaindrop/cubicbezier" | ||
}, | ||
@@ -16,0 +16,0 @@ "licenses": [ |
@@ -1,29 +0,16 @@ | ||
#cubicbezier | ||
# cubicbezier | ||
贝塞尔曲线函数。 | ||
function to generate cubicbezier lines. | ||
## 最新版本 | ||
## usage | ||
**0.1.0** | ||
```javascript | ||
var bezier = new lib.cubicbezier( | ||
.25, // x1 | ||
.1, // y1 | ||
.25, // x2 | ||
1 // y2 | ||
); | ||
## 依赖库 | ||
无 | ||
## 用Grunt打包 | ||
运行 `npm install`,来安装所需的依赖模块。关于NPM的知识,请参见[nodejs](http://nodejs.org/); | ||
运行 `grunt`,来对项目进行打包。关于Grunt的知识,请参见[gruntjs](http://gruntjs.com/); | ||
## 如何使用 | ||
var bezier = new lib.cubicbezier( | ||
.25, // 控制点x1 | ||
.1, // 控制点y1 | ||
.25, // 控制点x2 | ||
1 // 控制点y2 | ||
); | ||
bezier(0.5) // 0.8024033876954125 | ||
bezier(0.5) // 0.8024033876954125 | ||
``` |
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
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
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
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 2 instances in 1 package
Mixed license
License(Experimental) Package contains multiple licenses.
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
0
0
1
12838
10
256
17