cwf2

0.2.1 • Public • Published

cwf

cwf is a livescript library for requesting the Chatwork API.

Usage

# livescript
token = process.env.CW_TOKEN
room_id = process.env.CW_ROOM_ID
{post: _post} = (require \cwf) token

module.exports =
  # String -> Callback -> Any
  msg_post: -> _post "/room/#room_id/messages"

/cwf2/

    Package Sidebar

    Install

    npm i cwf2

    Weekly Downloads

    4

    Version

    0.2.1

    License

    ISC

    Last publish

    Collaborators

    • gladcube