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

@neatsuite/http-umd

v2.1.3

Published

UMD/Browser bundle for @neatsuite/http - NetSuite API client

Readme

@neatsuite/http-umd

UMD/Browser utilities for @neatsuite/http - A TypeScript-first NetSuite API client.

This package provides browser-compatible utilities and types from the main package. For full NetSuite API functionality, use the main package in Node.js environments.

Installation

NPM/Yarn

npm install @neatsuite/http-umd
# or
yarn add @neatsuite/http-umd

CDN

<script src="https://unpkg.com/@neatsuite/http-umd/dist/index.umd.js"></script>

Usage

Browser Global

<script src="https://unpkg.com/@neatsuite/http-umd/dist/index.umd.js"></script>
<script>
  const { 
    ResponseCache, 
    RateLimiter, 
    RequestBatcher,
    formatNetSuiteDate,
    parseNetSuiteDate,
    buildSearchQuery,
    UMD_PACKAGE_INFO 
  } = neatHttp;
  
  console.log('Package info:', UMD_PACKAGE_INFO);
  
  // Use utilities
  const cache = new ResponseCache();
  const limiter = new RateLimiter(10, 60000);
  const formattedDate = formatNetSuiteDate(new Date());
</script>

AMD/RequireJS

require.config({
  paths: {
    'netsuite-http-utils': 'https://unpkg.com/@neatsuite/http-umd/dist/index.umd'
  }
});

require(['netsuite-http-utils'], function(netSuiteUtils) {
  const { ResponseCache, RateLimiter } = netSuiteUtils;
  // Use the utilities
});

ES Modules in Browser

<script type="module">
  import netSuiteUtils from 'https://unpkg.com/@neatsuite/http-umd/dist/index.umd.js';
  const { ResponseCache, formatNetSuiteDate } = netSuiteUtils;
  // Use the utilities
</script>

Bundle Details

  • Build Size: ~9KB (utilities and types only)
  • Global Name: neatHttp
  • Exports: Browser-compatible utilities and TypeScript types
  • Dependencies: None (utilities are self-contained)

What's Included

This package provides:

  • Utilities: ResponseCache, RateLimiter, RequestBatcher
  • Helper Functions: Date formatting, query building, field sanitization
  • TypeScript Types: All interfaces and types from the main package
  • Validation: Configuration validation utilities

Why a Separate Package?

The main @neatsuite/http package requires Node.js built-ins (crypto, http, https) for OAuth 1.0a authentication, making it unsuitable for direct browser use. This UMD package:

  • Provides browser-compatible utilities without Node.js dependencies
  • Exports TypeScript types for development
  • Supports multiple module systems (AMD, CommonJS, browser global)
  • Keeps bundle size minimal by excluding Node.js-specific code

Documentation

For full API documentation and examples, see the main package: @neatsuite/http

License

MIT