Home / npm packages / jose

jose source code

Every file of jose@6.2.12 as published on npm: 80 files, 211 KB. Search them by exact text or regex, in milliseconds.

It uses: crypto.

What jose uses

APIIn jose
eval()
runs a string as JavaScript
NoWho does
new Function()
builds a function from a string, like eval (with or without new)
NoWho does
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
NoWho does
XMLHttpRequest
makes HTTP requests the old browser way
NoWho does
crypto
hashes, encrypts or makes random numbers
Yes: 10 files
e.g. dist/webapi/lib/asn1.js
See the lines
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/types/types.d.ts22 KB
dist/webapi/lib/key_management.js11 KB
README.md9.0 KB
dist/webapi/lib/jwe_decrypt.js9.0 KB
dist/types/util/errors.d.ts7.9 KB
dist/webapi/lib/key.js7.8 KB
dist/webapi/lib/jwt_claims_set.js7.3 KB
dist/webapi/lib/jwe_encrypt.js5.9 KB
dist/webapi/lib/asn1.js5.9 KB
dist/webapi/lib/jws_verify.js5.4 KB
dist/webapi/lib/validate.js4.7 KB
dist/webapi/jwe/general/encrypt.js4.4 KB
dist/webapi/jwks/remote.js4.2 KB
dist/webapi/lib/content_encryption.js4.2 KB
dist/types/index.d.ts4.2 KB
dist/types/jwks/remote.d.ts3.9 KB
dist/webapi/lib/jwe_algorithms.js3.3 KB
dist/webapi/util/errors.js3.3 KB
dist/types/key/import.d.ts3.3 KB
package.json3.2 KB
dist/webapi/jwks/local.js2.8 KB
dist/webapi/lib/jws_sign.js2.7 KB
dist/webapi/lib/buffer_utils.js2.7 KB
dist/webapi/jwk/thumbprint.js2.7 KB
dist/types/jwt/encrypt.d.ts2.5 KB
dist/webapi/index.js2.4 KB
dist/types/jwe/general/encrypt.d.ts2.3 KB
dist/webapi/key/import.js2.3 KB
dist/types/jwt/verify.d.ts2.3 KB
dist/types/jwt/decrypt.d.ts2.2 KB

Questions

How many files are in jose?

Version 6.2.12 of jose publishes 80 files of source, 211 KB in all, not counting images, fonts and source maps.

Does jose use eval?

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

Does jose start other programs?

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

Does jose run an install script?

No: jose 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