Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tuurdutoit/circular-resolver
Resolves your circular dependencies
https://github.com/tuurdutoit/circular-resolver
Last synced: 10 days ago
JSON representation
Resolves your circular dependencies
- Host: GitHub
- URL: https://github.com/tuurdutoit/circular-resolver
- Owner: TuurDutoit
- License: mit
- Created: 2016-10-22T13:02:57.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2016-10-22T14:36:02.000Z (over 8 years ago)
- Last Synced: 2025-01-10T06:17:18.668Z (14 days ago)
- Language: JavaScript
- Size: 1.95 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
circular-resolver
=================Resolves modules with circular dependencies.
## Installation
```
npm install --save circular-resolver
```## Usage
This module exports just one class, `Resolver`. Use a regular `require()` to get it and create a new instance:```js
var Resolver = require("circular-resolver");
var modules = new Resolver();modules.dep(a, "b");
modules.obj("a", a);
// etc.
```## API
> Coming soon, maybe?In the meantime, just look at `example.js` or just the source code; it's less than 50 lines of code...
## License
MIT