Socket for GitHub
Detect suspicious packages in PRs
Socket CLI
Use Socket from the command line
Socket Web Extension
Use Socket from your browser
Socket Dependency Search
Find any package for your project
Integrations
Docs
Want to read all the docs? Start here
Customers
Check out our customer stories
Blog
Keep up to date with all the news
Changelog
Latest updates and enhancements
FAQ
Answers to common questions
Package Alerts
Learn about all Socket alerts
Glossary
Open source and security terms
Customer Stories
About
Why we built Socket
Love
See why developers love Socket
Careers
Join our team
Investors
Learn about our investors
Security
Our security practices
Why Socket?
Achievements
Packages
Comaintainers
569 packages
Order
Sort by
abbrev-kindof
Use abbreviations for checking type of given value. Like `kindof(val, 'soa')` to check that value is string, object or array.
acorn-extract-comments
Extract JavaScript code comments from a string, using `acorn`. Optionally returns the AST and first line of code after comment - useful for parsing code context and api docs.
acorn-strip-comments
Strip code comments from given input string, using acorn javascript parser
add-package-owners
Add owners to the npm package through given json populated with author npm usernames
all-module-paths
Get all possible javascript (npm/yarn/pnpm) global or local, binaries or packages paths, e.g. node_modules and node_modules/.bin. Also works for those using NVM or such
always-callback
Create callback api for given sync function. Guarantee that given function (sync or async, no matter) will always have callback api and will handle errors correctly.
always-done
Handle completion and errors with elegance! Support for streams, callbacks, promises, child processes, async/await and sync functions. A drop-in replacement for [async-done][] - pass 100% of its tests plus more
always-generator
Generatorify, basically, everything. You can create generator function from callback-style or synchronous function; sync function that returns child process, stream or observable; directly passed promise, stream or child process.
always-promise
Promisify, basically, everything. Generator function, callback-style or synchronous function; sync function that returns child process, stream or observable; directly passed promise, stream or child process.
always-stream
Create stream from any value - function, array, string, buffer, promise, number, object and etc. Always returns a function that returns Transform Stream, using [through2][].