New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

node-destiny-2

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-destiny-2

API Wrapper for Destiny 2 in Node.js

latest
Source
npmnpm
Version
0.4.0
Version published
Maintainers
1
Created
Source

node-destiny-2 Node.js CI npm version codecov

:new_moon: A zero dependency Destiny 2 API Wrapper written in Node.js

Note

The Destiny 2 API is also still being worked on, so some of the endpoints may not work correctly.

Getting Started

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;
}

Installation

Install from NPM with:

npm install node-destiny-2

Or you can build from source via the releases.

Examples

See examples folder for basic function calls. Planning on adding more detailed ones (see issues if you want to help)

Documentation

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).

Contributing

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.

License

The code in this repository is licensed under the MIT License. Unless otherwise specified by 3rd party software.

Keywords

Destiny

FAQs

Package last updated on 16 Feb 2026

Did you know?

Socket

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.

Install

Related posts