particle-dev-profiles

Particle Dev support for profiles and basic Particle Cloud authentication

spark

8,358

0

0.2.3

MIT

GitHub

This package provides the following services:

This package consumes the following services:

Particle Dev Profiles package

Build Status apm

Package providing support for Particle CLI profiles and basic Particle Cloud authentication.

Usage

This package provides a service which other packages can consume:

package.json

"consumedServices": {
  "particle-dev-profiles": {
    "versions": {
      "^0.0.1": "consumeProfiles"
    }
  }
}

main.coffee

consumeProfiles: (@profileManager) ->
	console.log @profileManager.currentProfile

API reference

When consuming profile manager you'll get instance of ProfileManager which following API.