@told/platform

1.1.0 • Public • Published

Platform

npm (scoped) Build Status Coverage Status

Platform dependency injection

Potential Targets

  • browser - clients and karma testing
  • node.js - server
  • nativescript - mobile apps

Usage

  • npm install @told/platform --save

  • In Typescript File:

    import * as P from 'platform'; import { SOMETHING } from 'platform';

  • Before calling any code:

    BrowserPlatformProvider.Setup(); // Or NodePlatformProvider.Setup() etc.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.1.0
    2
    • latest

Version History

Package Sidebar

Install

npm i @told/platform

Weekly Downloads

6

Version

1.1.0

License

MIT

Last publish

Collaborators

  • told