Skip to content

electerm/electerm-sync

Repository files navigation

electerm-sync API js wrapper

English | 简体中文

Installation

Node.js

npm i electerm-sync

Usage

import { electermSync } from 'electerm-sync'
import axios from 'axios'

// type: 'github', 'gitee', 'custom', 'cloud'
// func: 'test', 'create', 'update', 'getOne'
// args: array of arguments for the function
// token: access token or connection string
const result = await electermSync(
  axios.create(),
  'github',
  'test',
  [],
  'your-github-token'
)

Test

npm run test

License

MIT

About

electerm-sync api nodejs wrapper

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors