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

a-baas

v0.3.2

Published

utilities for working with Apigee BaaS

Readme

a-baas

Utilities for working with Apigee Baas

Not affiliated with Apigee

Commands

export can export collections from Apigee Baas as JSON files using the REST API exposed by Apigee BaaS

Usage

Install:

npm install a-baas

You can install it globally

npm install -g a-baas

CLI

The following assumes that you have installed a-baas globally.

Help!

$a-baas -h

To export all collections

$a-baas export -o org -a app -k key -s secret -c *

To export specified collections

If there are spaces in this list, they have to be surrounded with the relevant quotes based on your operating system. For windows, use double quotes

$a-baas export -o org -a app -k key -s secret -c 'collection1, collection2, collection3'

Specifying a output directory (default = current directory)

One JSON file/collection will be created in this directory The directory must exist. It won't be created

$a-baas export -o org -a app -k key -s secret -c * -d temp

Specifying a host (only needed for sandbox orgs and on-premise hosting)

$a-baas export -o org -a app -k key -s secret -c * -H apibaas-trial.apigee.net

Throttling specified as requests per minute (default = 120 rpm) The maximum allowed value is 150 rpm, which translates to 3 requests per second

The requests will be spaced out evenly within the minute interval

$a-baas export -o org -a app -k key -s secret -c * -t 150 

Pretty print JSON (default = false)

To turn on pretty printing in the JSON output files,

$a-baas export -o org -a app -k key -s secret -c * -p

Entity Page size aka limit (default = 1000, max = 1000)

The maximum allowed limit size is 1000.

If you are having problems, try reducing the limit size to less than 1000

$a-baas export -o org -a app -k key -s secret -c * -l 300

Query and Export

Note the query is common for all listed collections. So be careful when using it with all collections. In that case, it can still be used, but use only the common fields like 'created', 'modified', etc

$a-baas export -o org -a app -k key -s secret -c roles -q "name='guest'"

CSV Format

$a-baas export -o org -a app -k key -s secret -c roles -f csv

No Metadata

If you don't need the metadata field in the output file,

$a-baas export -o org -a app -k key -s secret -c roles --no-metadata