npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

adi_loter_sdk

v1.0.1

Published

LOTER SDK

Readme

loter_SDK

Install:

npm i adi_loter_sdk

This SDK provides class to use LOTER API.

use:

  1. config your SDK credentials by importing the class and providing it your API key: const loter_SDK = new ApiClient(< your api key >);

  2. query directly from the SDK using the following methods:

1.get with options:

  getBooks(< options>):
  provides all the books available in the API , this method allows you to provide filtering options
  available options goes in key value pairs : {option: value}
    limit- string, value - number (will limit the amount responded)
    match- string, value - string (the name of the book)
    exclude - string, value - string (the name of the book to exclude)

2. simple getter: 
  getMovies() getMoviesQuotes()
  will provide all the movies name
  returns an array

3. general getters:

  getAllChapters(), getAllQuotes()
  returns an array 
  example: getAllChapters(chapterName), 
  will provide all the chapters name, if the search param will not be provided will respond in all the chapters information
  returns an array
4. 
  getters with a parameter:
    getOneBookByParam(), getOneMovieByParam()
    returns a strings


  will search from all the possible values in return what was provided as parameters 

  this category has another method that allows filtration:
    getMoviesByCriteria("academyAwardNominations", '>20'))
    returns a string array of objects with chapter's data

  example:
    getOneBookByParam(searchParam , paramValue):
      provides the a book that meets this criteria
      accepts the following parameters:
        searchParams- string: "id", "name"
        paramValue - string

getters with connection to other category:
  getBookByChapterName()
  returns book object , 
  
getAllChaptersFromABook()
return array of strings


example:
  getAllChaptersFromABook(bookIdentifier, value):
    provide all chapters from a given book identifier.
    bookIdentifier - string : bookId, book name.
    value - string.

testing

In order to run package testing:

  1. create a '.env' file in the package directory
  2. go to the package directory and type npm run tests.