【文件属性】:
文件名称:node-beanstalk:Beanstalk API 的 Node.js 包装器
文件大小:5KB
文件格式:ZIP
更新时间:2021-07-13 02:01:31
JavaScript
节点豆茎
Beanstalk API 的 Node.js 包装器
这是一个正在进行的工作! 目前只有“获取”功能可用。
安装
npm install beanstalk
用法
// Create an API token: https://ACCOUNTNAME.beanstalkapp.com/access_tokens
var beanstalk = require ( "beanstalk" ) . createClient ( "account" , "username" , "token" ) ;
// Get available repositories
beanstalk . getRepositories ( function ( error , data ) {
console . log ( data ) ; // Contains an array with r
【文件预览】:
node-beanstalk-master
----.gitignore(619B)
----package.json(703B)
----LICENSE(1KB)
----index.js(10KB)
----test.js(14B)
----README.md(2KB)