Security News
How Threat Actors are Abusing GitHub’s File Upload Feature to Host Malware
GitHub is susceptible to a CDN flaw that allows attackers to host malware on any public repository.
@moovio/node
Advanced tools
Changelog
[1.0.2] - 2022-05-10
Readme
TBD
npm install @moovio/node
Initialize the Moov client with your account ID and API key credentials. Get these from the Moov Dashboard.
import { Moov } from "@moovio/node";
const moov = new Moov({
accountID: "...",
publicKey: "...",
secretKey: "...",
domain: "...",
});
await moov.ping();
Generate OAuth tokens for Moov.js and Moov Drops using Moov.generateToken()
.
import { Moov, SCOPES } from "@moovio/node";
const moov = new Moov({
accountID: "...",
publicKey: "...",
secretKey: "...",
domain: "...",
});
const token = await moov.generateToken([SCOPES.ACCOUNTS_CREATE]);
See the /examples
folder for more details.
The node SDK is documented using JSDoc comments to annotate functions, methods, types, and enums. This allows us to provide autofill and inline context to developers, and is used to generate markdown files which are copied into our docs repo and exposed on docs.moov.io.
The following JSDoc tags should be included on any functions, methods, types, and enums that we want to expose to end users.
@summary - Short description that appears at the start of the section
@description - Longer description that will appear at start if no summary is provided.
@example - Used to include a code example of how a customer would implement this. Multiple examples can be used.
@param - Documents a parameter of a function or method.
@returns - What the function will return
@tag - The tag determines which markdown file the element will be included on.
@typedef - To document types like Account
or Transfer
. You can reference other types in your type definition.
@property - Used with the @typedef to document a propery of the type.
@enum - To document Enums
@private - To not include the in any public documentation for customers.
TBD
Node.js minimum version of 14.17.0 is required.
See CHANGELOG.md for details.
Apache 2.0. See LICENSE for details.
Yes, please! Be sure to start a discussion or create an issue before submitting a pull request.
FAQs
Node SDK for the Moov API and Dashboard
The npm package @moovio/node receives a total of 3,138 weekly downloads. As such, @moovio/node popularity was classified as popular.
We found that @moovio/node demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 6 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
GitHub is susceptible to a CDN flaw that allows attackers to host malware on any public repository.
Security News
At Node Congress, Socket CEO Feross Aboukhadijeh uncovers the darker aspects of open source, where applications that rely heavily on third-party dependencies can be exploited in supply chain attacks.
Research
Security News
The Socket Research team found this npm package includes code for collecting sensitive developer information, including your operating system username, Git username, and Git email.