@replit/protocol

v0.2.29
JavaScript bindings for the Replit protocol

prepublishOnly

pbjs --force-number --force-message -t static-module -w default -o index.js ../api.proto ../client.proto && ./tools/jsdoc.js < index.js > .index.js && mv .index.js index.js && pbts -o index.d.ts index.js && sed -i.bak 's/constructor(/private constructor(/' index.d.ts && rm -f index.d.ts.bak && flowgen --interface-records --no-inexact --add-flow-header --output-file index.js.flow index.d.ts && sed -i.bak 's/declare var api: typeof npm\$namespace\$api;/export var api = npm$namespace$api;/' index.js.flow && rm -f index.js.flow.bak
npm i @replit/[email protected]

Metadata

Downloads