rung-sdk
Rung Software Development Kit
Last updated 3 years ago by haskellcamargo .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install rung-sdk 
SYNC missed versions from official npm registry.

Rung SDK

This is the software development kit for writing Rung applications.

Hello World!

const { create } = require('rung-sdk');
const { String: Text } = require('rung-sdk/dist/types');

function main(context) {
    const { name } = context.params;
    return `Hello, ${name}!`;
}

const params = {
    name: {
        default: 'visitor',
        description: 'Name of the user to greet',
        type: Text
    }
};

module.exports = create(main, { params });

Current Tags

  • 1.0.7                                ...           latest (3 years ago)

7 Versions

  • 1.0.7                                ...           3 years ago
  • 1.0.6                                ...           3 years ago
  • 1.0.5                                ...           3 years ago
  • 1.0.4                                ...           3 years ago
  • 1.0.3                                ...           3 years ago
  • 1.0.2                                ...           3 years ago
  • 1.0.0                                ...           3 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 1
Last Month 9
Dependencies (5)
Dev Dependencies (1)
Dependents (2)

Copyright 2014 - 2016 © taobao.org |