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

slyrics

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

slyrics - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

2

dist/interfaces/ILyrics.d.ts

@@ -5,5 +5,5 @@ /// <reference types="node" />

provider: IProvider;
lyrics: string;
lyrics: string | null;
albumCover?: string | Buffer;
title: string;
}

@@ -73,3 +73,3 @@ "use strict";

?.replace(/\/melon\/resize\/\d+\/quality\/\d+\/optimize/g, ""); // remove resize option
return new structures_1.Lyrics(this, title, artist, lyrics ? lyrics : "", albumCover ? albumCover : "");
return new structures_1.Lyrics(this, title, artist, lyrics ? lyrics : null, albumCover ? albumCover : "");
};

@@ -76,0 +76,0 @@ }

@@ -6,7 +6,7 @@ /// <reference types="node" />

provider: BaseProvider;
lyrics: string;
lyrics: string | null;
title: string;
artist: string;
albumCover?: string | Buffer;
constructor(provider: BaseProvider, title: string, artist: string, lyrics: string, albumCover?: string | Buffer);
constructor(provider: BaseProvider, title: string, artist: string, lyrics: string | null, albumCover?: string | Buffer);
}
{
"name": "slyrics",
"version": "1.0.0",
"version": "1.0.1",
"description": "Scrape Lyrics without API Key",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

@@ -13,2 +13,5 @@ # slyrics - Fetch Lyrics Without Api Key

## Documentation
[Typedoc](https://sirubot.github.io/slyrics/)
## Typescript Example

@@ -15,0 +18,0 @@ ```ts

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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