Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
deskbookers
Advanced tools
JavaScript library to connect to the Deskbookers API. Available to use server-side or client-side, but you must bring your own fetch
polyfill (fetch-everywhere
recommended).
npm install deskbookers
import 'fetch-everywhere'
import Deskbookers from 'deskbookers'
const deskbookers = new Deskbookers()
Every resource can be accessed via the Deskbookers instance:
// deskbookers.{{ RESOURCE_NAME }}.{{ METHOD }}
// Get a workplace
deskbookers.workplaces.retrieve('workplaceId')
And every resource returns a Promise
, so you can chain them together or use async/await
:
const workplaces = await deskbookers.workplaces.retrieve(params)
for (let workplace of workplaces) {
// Use workplace data
}
invoices.list({limit, lastId})
invoices.get({invoiceId})
plans.list({limit, lastId})
plans.get({planId})
plans.subscriptions({planId})
subscriptions.list({limit, lastId, status})
subscriptions.get({subscriptionId})
users.get({userId})
users.subscriptions({userId})
users.invoices({userId})
users.payments({userId})
users.upsert({userId, user})
users.createSource({userId, token, email, setDefault})
users.createSubscription({userId, subscription})
users.createCharge({userId, charge})
users.listSources({userId, limit, lastId})
users.deleteSource({userId, sourceId})
users.setDefaultSource({userId, sourceId})
5.2.0 - 2017-08-07
payments
resource.FAQs
Deskbookers API JavaScript SDK
The npm package deskbookers receives a total of 65 weekly downloads. As such, deskbookers popularity was classified as not popular.
We found that deskbookers demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.