func-params
Advanced tools
Comparing version 0.9.0 to 0.9.1
@@ -5,3 +5,3 @@ { | ||
"description": "Run-Time Function Parameter Name Determination", | ||
"version": "0.9.0", | ||
"version": "0.9.1", | ||
"license": "MIT", | ||
@@ -8,0 +8,0 @@ "author": { |
@@ -19,2 +19,8 @@ | ||
block for Dependency Injection or Named-Parameter implementations. | ||
The underlying problem is that there is no official JavaScript API | ||
to determine the names of the parameters of a function under run-time, | ||
except the ECMAScript 2015 `Function.prototype.toString()`. This | ||
library determines the names of the function parameters by parsing | ||
the source code of `Function.prototype.toString()`. Its parsing is not | ||
100%, but is able to handle even complex syntax scenarios. | ||
@@ -21,0 +27,0 @@ Installation |
@@ -27,3 +27,3 @@ /* | ||
describe("FNA Library", function () { | ||
describe("func-params library", function () { | ||
it("should expose the official API", function () { | ||
@@ -30,0 +30,0 @@ expect(funcParams).to.be.a("function") |
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
23799
77