@protobufjs/codegen
Advanced tools
Comparing version
{ | ||
"name": "@protobufjs/codegen", | ||
"description": "A closure for generating functions programmatically.", | ||
"version": "1.0.0", | ||
"author": "Daniel Wirtz <dcode@dcode.io>", | ||
"version": "1.0.1", | ||
"author": "Daniel Wirtz <dcode+protobufjs@dcode.io>", | ||
"repository": { | ||
@@ -7,0 +7,0 @@ "type": "git", |
@protobufjs/codegen | ||
=================== | ||
[](https://www.npmjs.com/package/@protobufjs/codegen) | ||
A closure for generating functions programmatically. | ||
**License:** [Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0.html) | ||
API | ||
--- | ||
* **codegen(...params: `string`): `function(format: string, ...args: string): self`**<br /> | ||
Begins generating a function programmatically. | ||
* **codegen#str([name: `string`]): `string`**<br /> | ||
Stringifies the so far generated function source. | ||
* **codegen#eof([name?: `string`], [scope: `Object`]): `function`**<br /> | ||
Ends generation and builds the function whilst applying a scope. | ||
**License:** [Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0.html) |
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
17395
3.2%20
300%1
Infinity%