Home / npm packages / protobufjs

protobufjs source code

Every file of protobufjs@8.8.0 as published on npm: 102 files, 1.7 MB. Search them by exact text or regex, in milliseconds.

It uses: new Function(), fetch(), XMLHttpRequest.

What protobufjs uses

APIIn protobufjs
eval()
runs a string as JavaScript
NoWho does
new Function()
builds a function from a string, like eval (with or without new)
Yes: 5 files
e.g. src/util/codegen.js
See the lines
child_process
starts other programs
NoWho does
process.env
reads environment variables
NoWho does
the fs module
reads and writes files
NoWho does
http / https
makes or serves HTTP requests with Node's own modules
NoWho does
fetch()
makes HTTP requests
Yes: 8 files
e.g. src/util/fetch.js
See the lines
XMLHttpRequest
makes HTTP requests the old browser way
Yes: 7 files
e.g. src/util/fetch.js
See the lines
crypto
hashes, encrypts or makes random numbers
NoWho does
WebAssembly
loads WebAssembly code
NoWho does
document.cookie
reads or writes browser cookies
NoWho does
install scripts
runs a script when it's installed
NoWho does

Exact matches in the published files, so a mention in a comment counts too: open the lines to check.

Largest files

FileSize
dist/protobuf.js359 KB
dist/light/protobuf.js300 KB
dist/minimal/protobuf.js105 KB
dist/protobuf.min.js104 KB
index.d.ts101 KB
dist/light/protobuf.min.js90 KB
ext/descriptor.js49 KB
google/protobuf/descriptor.json47 KB
ext/textformat.js42 KB
src/parse.js36 KB
ext/protojson.js35 KB
dist/minimal/protobuf.min.js31 KB
src/reader.js26 KB
src/type.js24 KB
src/writer.js20 KB
src/namespace.js20 KB
README.md20 KB
src/field.js16 KB
src/util/minimal.js15 KB
src/converter.js15 KB
google/protobuf/descriptor.proto14 KB
src/root.js14 KB
src/tokenize.js13 KB
src/object.js13 KB
src/decoder.js12 KB
ext/protojson.LICENSE11 KB
src/util/float.js11 KB
ext/descriptor.generated.d.ts9.9 KB
src/common.js9.6 KB
src/enum.js8.0 KB

Questions

How many files are in protobufjs?

Version 8.8.0 of protobufjs publishes 102 files of source, 1.7 MB in all, not counting images, fonts and source maps.

Does protobufjs use eval?

No: protobufjs doesn't call eval() anywhere in its published files.

Does protobufjs start other programs?

No: protobufjs doesn't use child_process anywhere in its published files.

Does protobufjs run an install script?

No: protobufjs has no preinstall, install or postinstall script in its package.json.

npm packages that use…

Every package we've indexed →

Search your own code like this

The same engine answers over your documents and repositories: exact text and regex, every match counted, from your code or your AI agent.

See StackGrep Engine