overnew
TypeScript icon, indicating that this package has built-in type declarations

0.0.19 • Public • Published

Gitpod Ready-to-Code

overnew

npm install overnew

Simple dependency injection library

Sample:

 
class Service {
 
}
 
class ConcreteService {
 
}
 
inject.for(Service).create(ConcreteService);
 
assert(inject(Service) instanceof ConcreteService);
 

Package Sidebar

Install

npm i overnew

Weekly Downloads

10

Version

0.0.19

License

MIT

Unpacked Size

15.6 kB

Total Files

7

Last publish

Collaborators

  • berhalak