🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
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
Version published
Weekly downloads
18
-10%
Maintainers
3
Weekly downloads
 
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

tinybird

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