Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@aoijs/aoi.music

Package Overview
Dependencies
Maintainers
0
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aoijs/aoi.music

Addition of the Music properties and foundation for aoi.js

  • 1.3.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
0
Created
Source

aoi.music

@aoijs/aoi.music

A powerful TypeScript-based JavaScript library that adds music-related properties and lays a solid foundation for music operations in aoi.js.

🚀 Setup

To get started with @aoijs/aoi.music, follow these simple steps:

  1. Install @aoijs/aoi.music via npm:

    npm install @aoijs/aoi.music
    
  2. Import the Manager class and create a new instance:

    const { Manager } = require("@aoijs/aoi.music");
    
    const manager = new Manager({
       devOptions: {
          debug: false, // Set to true for debugging purposes
       },
       searchOptions: {
          soundcloudClientId: "<YOUR_SOUNDCLOUD_CLIENT_ID>",
          youtubeAuth: true, // Options: TRUE or FALSE, default: TRUE
          youtubegl: "<YOUR_YOUTUBE_COUNTRY_CODE>", // default: US
          youtubeClient: "WEB", // Options: "WEB" | "ANDROID" | "YTMUSIC_ANDROID" | "YTMUSIC" | "YTSTUDIO_ANDROID" | "TV_EMBEDDED", default: WEB
       },
       requestOptions: {
          offsetTimeout: 1500, // Timeout in milliseconds for searching and skipping, default: 500
          soundcloudLikeTrackLimit: 10, // Limit the number of liked tracks from SoundCloud, default: -1
          youtubePlaylistLimit: 20, // Limit the number of tracks in a YouTube playlist, default: -1
          spotifyPlaylistLimit: 30, // Limit the number of tracks in a Spotify playlist, default: -1
       },
    });
    

📚 Documentation

If you're using aoi.js, you may check the documentation to learn more here.

Otherwise you can check these autogenerated docs

FAQs

Package last updated on 18 Nov 2024

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc