@told/platform
v1.1.0
Published
Platform
Downloads
4
Readme
Platform
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.