You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

@protobufjs/codegen

Package Overview
Dependencies
Maintainers
2
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@protobufjs/codegen - npm Package Compare versions

Comparing version

to
1.0.1

4

package.json
{
"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
===================
[![npm](https://img.shields.io/npm/v/@protobufjs/codegen.svg)](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)