
Product
Announcing Precomputed Reachability Analysis in Socket
Socket’s precomputed reachability slashes false positives by flagging up to 80% of vulnerabilities as irrelevant, with no setup and instant results.
@mscharley/dot
Advanced tools
A lightweight inversion of control framework for JavaScript and TypeScript
A small, well-tested IOC framework for TypeScript and JavaScript with a focus on type safety and forward compatibility.
Support for TC39 standard decorators for use with both TypeScript and JavaScript as well as TypeScript's experimental decorators for projects who still use them.
Read more about our goals here.
npm i --save @mscharley/dot
This library should work out of the box with any TypeScript configuration if you are using TypeScript 5.0 or later. Read below for other versions.
This library is designed to work with either setting of the experimentalDecorators
option in TypeScript 5.x or later. emitDecoratorMetadata
is not required, and is not used if enabled.
JavaScript should work out of the box with any JavaScript transpiler that supports TC39 decorators. For now you will need a transpiler until the standard gets implemented more widely.
Known implementations:
For usage examples, please see the documentation.
The API design of this project is heavily inspired by InversifyJS.
FAQs
A lightweight inversion of control framework for JavaScript and TypeScript
The npm package @mscharley/dot receives a total of 3,423 weekly downloads. As such, @mscharley/dot popularity was classified as popular.
We found that @mscharley/dot demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket’s precomputed reachability slashes false positives by flagging up to 80% of vulnerabilities as irrelevant, with no setup and instant results.
Product
Socket is launching experimental protection for Chrome extensions, scanning for malware and risky permissions to prevent silent supply chain attacks.
Product
Add secure dependency scanning to Claude Desktop with Socket MCP, a one-click extension that keeps your coding conversations safe from malicious packages.