Socket for GitHub
Detect suspicious packages in PRs
Socket CLI
Use Socket from the command line
Socket Dependency Search
Find any package for your project
Docs
Want to read all the docs? Start here
Blog
Keep up to date with all the news
Customers
Check out our customer stories
Packages
npm
Comaintainers
62 packages
Order
Sort by
aliases-from-tsconfig
Reads a jsconfig/tsconfig.json baseUrl and paths and provides a methods to replace its aliases in your files paths.
@bitty/animate
Create and manage animation functions with AnimationFrame API.
@bitty/create-request
Apply interceptors in `fetch` to create a custom request functions.
@bitty/deferred
It provides a function to create Deferred objects. They contains a Promise and methods to imperatively resolve or reject it.
@bitty/either
Either monad implementation.
@bitty/event-emitter
Listen and emit events without dirty your classes, objects and functions with EventEmitter interface.
@bitty/falsy
Falsy helper functions and types for TypeScript.
@bitty/format-date
A small library (around 400 B when gziped & minified) to format JavaScript `Date` object using same tokens as moment.
@bitty/get
A really small and type-safe (requires TypeScript >= 4.1.3) function, that gets a nested value from an object using a path string (like 'a.b[0].d'). If value is 'undefined' or unreachable returns the placeholder instead.
@bitty/insist
Insistently runs a callback and only resolves the promise when its result is truthy.