GithubHelp home page GithubHelp logo

scriptex / lastfm-ts-api Goto Github PK

View Code? Open in Web Editor NEW
13.0 5.0 1.0 265 KB

API client for Last.FM with full TypeScript support

Home Page: https://atanas.info/portfolio/open-source/lastfm-ts-api

License: MIT License

TypeScript 100.00%
lastfm-api

lastfm-ts-api's Introduction

Hi, I'm Atanas 👋 Total profile views Analytics

My open source software is published on NPM and has been downloaded this many times in the past year:

NPM Stats

Here is a bit more detailed graph showing my open source contributions in the past year:

GitHub stats

Wondering how to pronounce my name? Not anymore!


Connect with me:

                     

Support and sponsor my work:

lastfm-ts-api's People

Contributors

renovate-bot avatar renovate[bot] avatar scriptex avatar zoasr avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

zoasr

lastfm-ts-api's Issues

Dependency Dashboard

This issue provides visibility into Renovate updates and their statuses. Learn more

This repository currently has no open or pending branches.


  • Check this box to trigger a request for Renovate to run again on this repository

Package is incomaptible with vite due to https://vitejs.dev/guide/troubleshooting.html#module-externalized-for-browser-compatibility

Using the package with vite reports an error which points to this specific line in the code:

const paramsStr = stringify(paramsObj);

the vite docs say that it's due to of the use of a node module inside of a browser:

"This is because Vite does not automatically polyfill Node.js modules."
The vite docs recommend patching the package with pnpm patch

Probably finding an alternative to these imports is the apparent solution:

import { createHash } from 'node:crypto';
import { parse, stringify } from 'node:querystring';
import { request, RequestOptions } from 'node:https';

Improvements

  1. The return types of all methods should be added/updated.
  2. The usage should be improved.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.