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

data.yafb.net

v0.1.1

Published

Transform Your Google Sheets into Powerful APIs Instantly

Readme

data.alterloop.dev

Google Spreadsheet API with Google Apps Script

This project allows you to use a Google Spreadsheet as a database and interact with it via a REST API. The API supports operations such as listing, inserting, updating, and deleting records.

Deployment Steps

1. Create Your Google Spreadsheet

  1. Go to Google Sheets.
  2. Create a new spreadsheet.
  3. Name the sheet (e.g., Database).
  4. In the first row, define the column names (e.g., id, name, email).

2. Open Google Apps Script

  1. Click on ExtensionsApps Script.
  2. Delete any existing code.
  3. Copy and paste the provided Apps Script code.

3. Configure Script Permissions

  1. Click DeployNew Deployment.
  2. Select Web app as the deployment type.
  3. Set Who has access to "Anyone".
  4. Click Deploy and authorize the script.

4. Get Your API URL

After deployment, you will get a URL like:

https://script.google.com/macros/s/your-script-id/exec

Use this URL to interact with your API.

5. API Endpoints

  • GET /list → Retrieve all records
  • POST /insert → Add a new record
  • POST /update → Update an existing record
  • POST /delete → Remove a record

6. Example Request

curl -X GET "https://script.google.com/macros/s/your-script-id/exec?action=list"

Now your Google Spreadsheet is a fully functional database API! 🚀

Proxy

This echo server is used to test the proxy server. It is hosted on Google Apps Script.

function doGet(request) {
    const response = ContentService.createTextOutput(JSON.stringify(request, null, 2));
    response.setMimeType(ContentService.MimeType.JSON);
    return response
}

function doPost(request) {
    const response = ContentService.createTextOutput(JSON.stringify(request, null, 2));
    response.setMimeType(ContentService.MimeType.JSON);
    return response
}