Socket
Socket
Sign inDemoInstall

lastfm-node-client

Package Overview
Dependencies
0
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.0 to 1.0.1

0

__test__/ApiRequest.test.js

@@ -0,0 +0,0 @@ const crypto = require("crypto");

@@ -0,0 +0,0 @@ const nock = require("nock");

@@ -0,0 +0,0 @@ const ApiRequest = require("./ApiRequest");

2

package.json
{
"name": "lastfm-node-client",
"version": "1.0.0",
"version": "1.0.1",
"description": "JavaScript library for interfacing with the Last.fm API",

@@ -5,0 +5,0 @@ "main": "lib/LastFm.js",

# Last.Fm Node Client
[![npm](https://img.shields.io/npm/v/lastfm-node-client.svg)](https://www.npmjs.com/package/lastfm-node-client)
[![Build Status](https://travis-ci.org/rattletone/lastfm-node-client.svg?branch=master)](https://travis-ci.org/rattletone/lastfm-node-client)

@@ -61,3 +62,3 @@ [![Coverage Status](https://coveralls.io/repos/github/rattletone/lastfm-node-client/badge.svg?branch=master)](https://coveralls.io/github/rattletone/lastfm-node-client?branch=master)

})
.then((err, data)) => {
.then(data => {
console.log(data);

@@ -90,2 +91,4 @@ };

When callback is passed, methods do not return a `promise`, instead return `undefined`. The `params` parameter is required when the callback parameter is passed.
When callback is passed, methods do not return a `promise`, instead return `undefined`. The `params` parameter is required when a callback argument is passed.
**Note**: Endpoints `Auth.getToken` and `Tag.getTopTags` do not require additional parameters, as such, methods `lastFm.authGetToken()` and `lastFm.tagGetTopTags()` do not accept a `params` argument. A callback can be passed as the first argument.

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc