Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

tinybird.js

Package Overview
Dependencies
Maintainers
3
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tinybird.js

Tinybird.js library

  • 2.1.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
3
Created
Source
Tinybird

Tinybird.js

A library for managing your Tinybird Tokens, Data Sources and Pipes.

npm downloads per month
MIT License


Tinybird Analytics allows you to build Real-time APIs at scale for your existing Data Sources.

💎 Examples

🚀 Installation

NPM

NPM is the recommended installation method. It pairs nicely with a CommonJS module bundler such as Webpack or Browserify.

# npm
npm i --save tinybird.js

# Yarn
yarn add tinybird.js

CDN

Instead of downloading, you can use our CDN to access files directly.

<script src="https://cdn.tinybird.co/v1/tinybird.js"></script>

🖲 Usage

Install and import the Tinybird as an ES module and start using it.

import Tinybird from 'tinybird.js';

const tinyb = Tinybird(YOUR_AUTH_TOKEN)
const res = tinyb.query('SELECT * FROM your_data_source LIMIT 3')
  .then(function (res) {
    console.log(res.data[0])
    console.log(`query time: ${res.statistics.elapsed}`)
  })

🗒 Docs

You can discover how to use the library in the official documentation.

📝 License

MIT

Keywords

FAQs

Package last updated on 21 Jan 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc