
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
@sdairs/tinybird-trigger-tasks
Advanced tools
A collection of [trigger.dev](https://trigger.dev) task implementations for Tinybird APIs.
A collection of trigger.dev task implementations for Tinybird APIs.
npm install @sdairs/tinybird-trigger-tasks
# or
yarn add @sdairs/tinybird-trigger-tasks
# or
pnpm add @sdairs/tinybird-trigger-tasks
The Query task executes a SQL query using the Query API.
The Copy task executes an on-demand Copy job using the Copy API.
You can provide your Tinybird API token either through the environment variable TINYBIRD_TOKEN or directly in the task payload.
To run a Copy with no params:
import { tinybirdCopyTask } from '@sdairs/tinybird-trigger-tasks';
const copyResult = await tinybirdCopyTask.triggerAndWait({
pipeId: "YOUR_COPY_PIPE_ID",
token: "YOUR_TOKEN" // Optional if TINYBIRD_TOKEN env var is set
});
To run a Copy with params:
const copyWithParamResult = await tinybirdCopyTask.triggerAndWait({
pipeId: "YOUR_COPY_WITH_PARAM_ID",
params: { test_int: "7" },
token: "YOUR_TOKEN" // Optional if TINYBIRD_TOKEN env var is set
});
To run a Query with no params:
import { tinybirdQueryTask } from '@sdairs/tinybird-trigger-tasks';
const queryResult = await tinybirdQueryTask.triggerAndWait({
sql: "SELECT * FROM table",
token: "YOUR_TOKEN" // Optional if TINYBIRD_TOKEN env var is set
});
To run a Query with params:
const paramResult = await tinybirdQueryTask.triggerAndWait({
sql: "% SELECT * FROM my_ds WHERE number == {{Int8(test_int)}}",
params: { test_int: "7" },
token: "YOUR_TOKEN" // Optional if TINYBIRD_TOKEN env var is set
});
FAQs
A collection of [trigger.dev](https://trigger.dev) task implementations for Tinybird APIs.
The npm package @sdairs/tinybird-trigger-tasks receives a total of 2 weekly downloads. As such, @sdairs/tinybird-trigger-tasks popularity was classified as not popular.
We found that @sdairs/tinybird-trigger-tasks demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?

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.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.