jetpack-io
TypeScript icon, indicating that this package has built-in type declarations

0.1.0-alpha.5 • Public • Published

Jetpack SDK

> npm install jetpack-io

Example

import { cron, JetpackClient } from 'jetpack-io';

// Cronjob
cron(
  'exampleCron',
  '* * * * *',
  () => {
    console.log('executing exampleCron!');
  },
);


const jetpackClient = new JetpackClient();

// Jetroutine
export const exampleJetroutine = jetpackClient.jetroutine(
  'exampleJetroutine1', // unique name
  (team) => `hello jet from team: ${team}!`,
);

Readme

Keywords

none

Package Sidebar

Install

npm i jetpack-io

Weekly Downloads

0

Version

0.1.0-alpha.5

License

SEE LICENSE IN Jetpack Community License

Unpacked Size

1.06 MB

Total Files

48

Last publish

Collaborators

  • lucille.hua