JavaScript API

Open-source JavaScript projects categorized as API

Top 23 JavaScript API Projects

  • GitHub repo Strapi

    🚀 Open source Node.js Headless CMS to easily build customisable APIs

    Project mention: First steps in building app with React, Strapi & Apollo GraphQL | dev.to | 2021-06-17

    I have to say I fell in love with Strapi from the day I found it. For all of those who never heard of Strapi be sure to checkout Strapi.io.

  • GitHub repo normalizr

    Normalizes nested JSON according to a schema

    Project mention: Modify Deep State of App | reddit.com/r/reactjs | 2021-06-17

    That's a great hunch. Usually on real apps with APIs you'll use something like Normalizr to flatten your data structure. For it to work you will need a unique id for every data point.

  • GitHub repo ccxt

    A JavaScript / Python / PHP cryptocurrency trading API with support for more than 120 bitcoin/altcoin exchanges

    Project mention: Backtesting in Python, recommendations please. | reddit.com/r/algotrading | 2021-06-18

    https://github.com/ccxt/ccxt -multi featured crypto lib. I use this to collect crypto data.

  • GitHub repo insomnia

    The Open Source API Client and Design Platform for GraphQL, REST and gRPC

    Project mention: Introduction to Go Fiber | dev.to | 2021-06-23

    I'm using Insomnia to test out the mock endpoints

  • GitHub repo JSDoc

    An API documentation generator for JavaScript.

    Project mention: Can I add my own notes to the documentation popup for some functions? | reddit.com/r/vscode | 2021-06-13

    If it doesn't auto complete for some reason, here's an article: https://jsdoc.app/

  • GitHub repo web3.js

    Ethereum JavaScript API

    Project mention: What the difference between Ethers.js & Web3.js? Which one is better and in more demand and why? | reddit.com/r/ethdev | 2021-05-27

    web3 is so bloated from redundant BigNumber imports it balloons your dapp size. go with ethers.js if it does everything you need. https://github.com/ChainSafe/web3.js/issues/1178

  • GitHub repo SpaceX-API

    :rocket: Open Source REST API for SpaceX launch, rocket, core, capsule, starlink, launchpad, and landing pad data.

    Project mention: r/SpaceX SXM-8 Launch Discussion and Updates Thread | reddit.com/r/spacex | 2021-06-05

    Here's one that I've made showing all the active boosters using the unofficial SpaceX API

  • GitHub repo node-telegram-bot-api

    Telegram Bot API for NodeJS

    Project mention: How to Create a Telegram Bot with Node.js and Sanity | dev.to | 2021-06-22

    The node package we're working with, [node-telegram-bot-api](https://github.com/yagop/node-telegram-bot-api/blob/master/doc/tutorials.md), comes with great documentation. Let's start with one of the methods from the README. We'll tell our bot to send an introduction anytime a user runs /start.

  • GitHub repo Newman

    Newman is a command-line collection runner for Postman

    Project mention: Feedback | dev.to | 2021-04-28
  • GitHub repo miniprogram-demo

    微信小程序组件 / API / 云开发示例

    Project mention: Mini programs on larger apps like wechat. Can you do it with react native ? | reddit.com/r/reactnative | 2021-04-27

    However, there's a demo on their GitHub, they do use npm and a lot of JavaScripts. https://github.com/wechat-miniprogram/miniprogram-demo

  • GitHub repo lib

    Autocode CLI and standard library tooling

    Project mention: Autocode just got 10x faster and is now deployless: Instant Node.js endpoints in the cloud | reddit.com/r/node | 2021-01-14
  • GitHub repo dredd

    Language-agnostic HTTP API Testing Tool

    Project mention: Front End UI Test Automation With Mock API | reddit.com/r/csharp | 2021-05-18

    To test the API, I recommend a proper API testing framework that can run a full test suite without you having to write a single test case. In this area, I recommend Dredd and schemathesis. These frameworks will get you covered when it comes to ensuring that the API server complies with the API specification. You may find Dredd a bit confusing at the beginning, in which case I recommend a tutorial I wrote a while ago about testing with Dredd. In addition, you can consider using just-apis, which allows you to define your own test cases for the API in YAML files (so no programming required).

  • GitHub repo react-refetch

    A simple, declarative, and composable way to fetch data for React components

  • GitHub repo boring-avatars

    Boring avatars is a tiny JavaScript React library that generates custom, SVG-based, round avatars from any username and color palette.

    Project mention: A little React library to replace your boring fallback avatars | reddit.com/r/programming | 2021-06-01
  • GitHub repo whatsapp-web.js

    A WhatsApp client library for NodeJS that connects through the WhatsApp Web browser app

    Project mention: Admin WhatsApp Group Bot | reddit.com/r/whatsapp | 2021-06-07

    idk where u can find one but u can make one if u know js https://github.com/pedroslopez/whatsapp-web.js/

  • GitHub repo Swagger Client

    Javascript library to connect to swagger-enabled APIs via browser or nodejs

  • GitHub repo wretch

    A tiny wrapper built around fetch with an intuitive syntax. :candy:

  • GitHub repo Paste JSON as Code • quicktype

    Xcode extension to paste JSON as Swift, Objective-C, and more

    Project mention: Postgres to TypeScript Interfaces and Enums | news.ycombinator.com | 2021-06-20

    doesn't it already exist? but it converts from your json https://quicktype.io/

  • GitHub repo FunctionScript

    An API gateway and framework for turning functions into web services (by FunctionScript)

    Project mention: The Railsification of SaaS | news.ycombinator.com | 2021-03-09

    You're half-right - we have a specification called FunctionScript [0] that can act as what's basically a universal translation layer for any API. You just generate a proxy to it using FunctionScript. So it's possible to add GraphQL APIs to our stdlib, it's just not convenient right now. All of Shopify is a GQL API, for example.

    The reason we don't support GQL APIs natively is because we designed Autocode to follow the best practices of the top API companies we knew; Twilio and Stripe. Both companies designed their SDKs in a way that feels intuitive: a call to their API is achieved via a namespaced function call -- it's very Railslike. Everything available in our stdlib follows that convention as we felt it was the most intuitive approach to API / SDK design.

    [0] https://github.com/FunctionScript/FunctionScript

  • GitHub repo WebODM

    User-friendly, commercial-grade software for processing aerial imagery. 🛩

    Project mention: What is similar to Google Earth/Maps but with current images or at maybe a few days old. | reddit.com/r/GoogleMaps | 2021-05-01

    Satellite imagery is expensive especially because you can only take photos when the satellite is overhead. For something like this, a drone is most likely your best bet, even if it takes a bit of effort to get it working. There are a bunch of tools out there that will handle the stitching of imagery for you like https://www.opendronemap.org/webodm/

  • GitHub repo vue-api-query

    💎 Elegant and simple way to build requests for REST API

    Project mention: New and Noteworthy Vue.js Open Source Projects. Part 2 | dev.to | 2021-03-01

    GitHub: https://github.com/robsontenorio/vue-api-query GitHub Stars: 1.1k

  • GitHub repo Restler

    Simple and effective multi-format Web API Server to host your PHP API as Pragmatic REST and/or RESTful API

  • GitHub repo bottleneck

    Job scheduler and rate limiter, supports Clustering

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2021-06-23.

Index

What are some of the best open-source API projects in JavaScript? This list will help you:

Project Stars
1 Strapi 37,263
2 normalizr 20,226
3 ccxt 20,103
4 insomnia 16,600
5 JSDoc 12,059
6 web3.js 10,604
7 SpaceX-API 8,548
8 node-telegram-bot-api 5,346
9 Newman 5,278
10 miniprogram-demo 4,928
11 lib 3,752
12 dredd 3,673
13 react-refetch 3,404
14 boring-avatars 2,601
15 whatsapp-web.js 2,450
16 Swagger Client 2,235
17 wretch 2,199
18 Paste JSON as Code • quicktype 1,648
19 FunctionScript 1,471
20 WebODM 1,466
21 vue-api-query 1,464
22 Restler 1,328
23 bottleneck 1,160