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

instasent

v0.1.7

Published

A Nodejs wrapper library for Instasent's API

Readme

Welcome to Instasent Node.js SDK. This repository contains Node.js SDK for Instasent's REST API.

Notice!

Verify product is currently deprecated and will be removed in the next release. The same functionality can be easily implemented by sending an SMS. If you need help migrating please contact us

Installation

The easiest way to install the SDK is via npm:

$ npm install instasent

Usage

Check the examples directory to see working examples of this SDK usage

Sending an SMS

var instasent = require('instasent')('my-token');

instasent.send_sms.create('Company', '+34666666666', 'test message', function (err, response) {
    if (err) {
        console.log(err.errors);
        return;
    }
    console.log(response);
});

If you want to send an Unicode SMS (i.e with 😀 emoji) you only need to replace send_sms call to send_sms_unicode

instasent.send_sms_unicode.create('Company', '+34666666666', 'Unicode test: ña éáíóú 😀', function (err, response) {
    if (err) {
        console.log(err.errors);
        return;
    }
    console.log(response);
});

Available actions

SMS
instasent.send_sms.create(sender, to, text, callback)
instasent.send_sms_unicode.create(sender, to, text, callback)
instasent.get_sms.read(page, per_page, callback)
instasent.get_sms_by_id.read(message_id, callback)

LOOKUP
instasent.do_lookup.create(to)
instasent.get_lookup_by_id.read(id)
instasent.get_lookups.read(page, per_page)

ACCOUNT
instasent.get_account_balance.read()

Full documentation

Full documentation of the API can be found at http://docs.instasent.com/

Getting help

If you need help installing or using the SDK, please contact Instasent Support at [email protected]

If you've instead found a bug in the library or have a feature request, go ahead and open an issue or pull request!