0.2.0 • Published 4 years ago

@winwin/hexo-editor-sdk v0.2.0

Weekly downloads
1
License
MIT
Repository
github
Last release
4 years ago

@winwin/hexo-editor-sdk

For server, see @winwin/hexo-editor-server

Installation

npm install --save @winwin/hexo-editor-sdk

Usage

see ./example.js for simple usage.

const hexoEditorSDK = require('@winwin/hexo-editor-sdk')
// or
// import hexoEditorSDK from '@winwin/hexo-editor-sdk'

const hexoEditorAPI = hexoEditorSDK({
  baseUrl: /* path to your hexo-editor-server base */,
  axios: /* axios instance */
})

// use API
hexoEditorAPI.hello().then(res => console.log(res.data))
0.2.0

4 years ago

0.2.0-0

4 years ago

0.1.1

4 years ago

0.1.0

4 years ago

0.0.1

4 years ago