medusa-lib
Medusa API Wrapper
Install
$ yarn add medusa-lib
Usage
const Medusa = ; const medusa = url: 'http://localhost:8081/' ; // Authentication will last as long as the JWT expiry// By default Medusa ships with a 24 hour expirymedusa; // If you need longer than 24 hours and don't want to store// the user's credentials we suggest trying the apiKey method for nowmedusa; medusa;// { torrents: { enabled: false } } medusa;// { torrents: { enabled: false } }
License
MIT © Alexis Tyler