jsonbin.org

1.0.0 • Public • Published

jsonbin.org

NodeJS API for jsonbin.org

Example Usage

let key = "token blablabla"
let bin = require("jsonbin.org")(key)
 
bin.post("profile", {name: "John", age:21}).then(console.log)
// -> {name: "John", age: 21}
bin.patch("profile", {age: 36}).then(console.log)
// -> {name: "John", age: 36}
bin.get("profile/name").then(console.log)
// -> "John"
bin.delete("profile")
// -> {}

Dependencies (1)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i jsonbin.org

    Weekly Downloads

    1

    Version

    1.0.0

    License

    MIT

    Unpacked Size

    4.59 kB

    Total Files

    4

    Last publish

    Collaborators

    • bakapear