Skip to content

Latest commit

 

History

History
45 lines (33 loc) · 1.58 KB

README.md

File metadata and controls

45 lines (33 loc) · 1.58 KB

CircleCI NPM version NPM downloads License Issues

cep-lib is a set of JS wrapper functions to aid in the development of CEP plugins.

Get Started

npm install --save cep-lib
import { evalScript, getCSInterface } from 'cep-lib/csinterface'
import { deleteFile } from 'cep-lib/cep'

const result = evalScript('extendScriptFunction()')
console.log(result)

const rawCSInterface = getCSInterface()

deleteFile('/tmp/foo')

Note: It is not recommended to import the cep-lib root. If you do so, you will receive a warning message. Each library has been packaged separately in order to allow developers to only import what they need. Also note that the libraries do not have default exports.

Features

  • Provides a wrapper around the CSInterface library, while still providing access to the underlying library.
  • Provides a wrapper around certain CEP-related functions (just some IO functions for now).