
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
node-destiny-2
Advanced tools
:new_moon: A zero dependency Destiny 2 API Wrapper written in Node.js
The Destiny 2 API is also still being worked on, so some of the endpoints may not work correctly.
Super simple to set up.
// Getting API Manifest Example
const Destiny2API = require('node-destiny-2');
const destiny = new Destiny2API({
key: 'your-api-key'
});
Get Destiny Manifest Example:
With .then()/.catch():
destiny.getManifest()
.then(res => console.log(`Manifest: ${res.Response}`))
.catch(err => console.log(`Error: ${err}`));
With async/await:
try {
const res = await destiny.getManifest();
console.log(`Manifest: ${res.Response}`);
} catch (err) {
console.log(`Error: ${err}`);
throw err;
}
Install from NPM with:
npm install node-destiny-2
Or you can build from source via the releases.
See examples folder for basic function calls. Planning on adding more detailed ones (see issues if you want to help)
For general JSDoc documentation see each file in the lib folder. More specifically, destiny-2-api.js has fairly detailed documentation for each method call.
For further reading on the API documentation see the Official Destiny 2 API Documentation.
See issues if you are interested in helping improve the available documentation. (I am planning on eventually adding some documentation generator based on JSDoc).
If you see a feature that may need to be added, feel free to send a pull request. Also, feel free to fix or file an issue of your own. I will set up a CONTRIBUTING.md eventually for code style and a little more information on creating pull requests.
The code in this repository is licensed under the MIT License. Unless otherwise specified by 3rd party software.
FAQs
API Wrapper for Destiny 2 in Node.js
We found that node-destiny-2 demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer 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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.