Nightly Perpetrated Mischief
    Wondering what’s next for npm?Check out our public roadmap! »

    drone-node

    2.1.0 • Public • Published

    drone-node

    Build Status Gitter chat Join the discussion at https://discourse.drone.io Drone questions at https://stackoverflow.com npm version

    Node client for the Drone API

    Example

    const drone = require('drone-node')
     
    const client = new drone.Client({
      url: 'https://drone.example.com',
      token: 'SoMeToKeN'
    })
     
    client.getRepos().then((res) => {
      console.log(res)
    }).catch((reason) => {
      console.error(reason)
    })

    Many functions are available, please read the source and jsdoc comments at lib/index.js.

    Contributing

    Fork -> Patch -> Test -> Push -> Pull Request

    Authors

    License

    Apache-2.0

    Copyright

    Copyright (c) 2020 Drone.io Developers
    

    Keywords

    none

    Install

    npm i drone-node

    DownloadsWeekly Downloads

    42

    Version

    2.1.0

    License

    Apache-2.0

    Unpacked Size

    43 kB

    Total Files

    8

    Last publish

    Collaborators

    • avatar
    • avatar