Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including devshare with all npm packages installed. Try it out:

var devshare = require("devshare")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

devshare v0.3.0

Library to communicate with devshare development sharing platform.

devshare

NPM version NPM downloads Build Status Dependency Status Code Climate Code Coverage License Code Style

Gitter

Client library to simplify communication with the devShare service

Features

  • File system interaction
  • Projects management
  • Users management
  • Cloud interface

Getting Started

devShare is universal, so it can be used client-side or server-side.

NPM

  1. Install: npm install --save devshare

  2. Include and use devshare:

ES6

```javascript

import devshare from 'devshare' devshare.login(auth) .then(user => console.log('Successful login', user)) .catch(error => console.error('Error logging in', error))

```

ES5

```javascript

var devshare = require('devshare') devshare.login(auth) .then(function (user) { console.log('Successful login', user) }) .catch(function (error) { console.error('Error logging in', error) }) ```

API Documentation

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free