This package has been deprecated

Author message:

update to @phosphor/application package

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

0.9.0 • Public • Published

phosphor-di

Build Status Coverage Status

A lightweight module for asynchronous dependency injection.

API Docs

Package Install

Prerequisites

npm install --save phosphor-di

Source Build

Prerequisites

git clone https://github.com/phosphorjs/phosphor-di.git
cd phosphor-di
npm install

Rebuild

npm run clean
npm run build

Run Tests

Follow the source build instructions first.

npm test

Build Docs

Follow the source build instructions first.

npm run docs

Navigate to docs/index.html.

Supported Runtimes

The runtime versions which are currently known to work are listed below. Earlier versions may also work, but come with no guarantees.

  • Node 0.12.7+
  • IE 11+
  • Firefox 32+
  • Chrome 38+

Bundle for the Browser

Follow the package install instructions first.

npm install --save-dev browserify
browserify myapp.js -o mybundle.js

Usage Examples

Note: This module is fully compatible with Node/Babel/ES6/ES5. Simply omit the type declarations when using a language other than TypeScript.

Package Sidebar

Install

npm i phosphor-di

Weekly Downloads

0

Version

0.9.0

License

BSD-3-Clause

Last publish

Collaborators

  • sccolbert