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

txtlocal-sdk

v1.0.8

Published

TextLocal-SDK =========

Readme

TextLocal-SDK

A small library providing utility methods for the textlocal.com API http://api.txtlocal.com/docs/

Installation

npm install txtlocal-sdk --save

Usage

var validOptions = { apikey: '1234567890-0987312345678hgfdsaertyuikjhgf' };

-or-

var validOptions = { username: 'kvyavahXXXXX.com', password: 'XXXXX', hash: '6e185XXXXX43dab97259a0068d32797a3fc4ce9bbc9504d4dfe36071b', apikey: '1fe7XXXXXXP340WrCl37Duw9jHUUSnHeIY', method: 'GET', test:'true' };

  • if need to use post method set method='POST' default is "POST" we recomend to use it by POST

  • In Production mode it must to set test='false' otherwise message will no delivered default is "true".

//ES6 import textlocal from 'txtlocal-sdk' const msgInstance=textlocal.init(validOptions); msgInstance.message.sendSMS({numbers:"919096XXXX90",message:"test"}).then(succcess=>{},rejected=>console.log(rejected));

// ES5 var msgInstance=require('txtlocal-sdk/dist').init(validOptions); msgInstance.message.sendSMS({numbers:"919096XXXX90",message:"test"}).then(succcess=>{},rejected=>console.log(rejected));

  • other options for send message see on http://api.textlocal.in/docs/sendsms

// Sending Bulk SMS

msgInstance.message.sendBulkJSON({messages:[{number:"91988888XXXX",text:"test"},{number:"91909609XXXX",text:"test"}]}).then(succcess=>{},rejected=>console.log(rejected));

  • other options for send message see on http://api.textlocal.in/docs/bulkjson

  • Other methods msgInstance.message.getScheduledMSGS().then(success=>console.log(success)) msgInstance.message.cancelScheduledMSG(messageId).then(success=>console.log(success)) msgInstance.group.getAllGroups().then(success=>console.log(success)) msgInstance.group.createGroup("Sunnt Leone").then(success=>console.log(success)) msgInstance.group.deleteGroup(groupId).then(success=>console.log(success)) msgInstance.contact.getAllCOntacts(groupId).then(success=>console.log(success))

    msgInstance.contact.createContact(groupId,numbers).then(success=>console.log(success)) msgInstance.contact.createBulkContacts(groupId,[{number:"91909609XXXX",first_name:"hhhh"}]).then(success=>console.log(success)) msgInstance.contact.deleteContact(groupId,"91909609XXXX").then(success=>console.log(success)) msgInstance.inbox.getAllInboxes().then(success=>console.log(success)) msgInstance.inbox.getAllMessages(inboxId).then(success=>console.log(success))

Support

Please connect on [email protected], If facing any issues.

will thankfull for suggestions.

Release History

  • 1.0.6 latest release
  • 1.0.5 Initial release