pcv3cloudconnector-nodejs
v1.1.1
Published
The native version of the Pcv3CloudConnector SDK. To connect your data to the Profilcoud.io
Downloads
90
Readme
pcv3cloudconnector-nodejs
This Library provides a class which can be used to connect to the Proficloud.io It is mainly used in https://github.com/pxc-smart-business/node-red-contrib-proficloud
Formater
This repo is formated by prettier https://github.com/prettier/prettier-vscode The config for vscode:
{
"javascript.format.insertSpaceAfterOpeningAndBeforeClosingEmptyBraces": false,
"javascript.format.insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces": false,
"typescript.format.insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces": false,
"typescript.format.insertSpaceAfterOpeningAndBeforeClosingEmptyBraces": false,
"editor.defaultFormatter": "esbenp.prettier-vscode",
"[javascript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
}
}
You can also setup a pre-commit Hook https://prettier.io/docs/en/precommit.html
API
- Connector(uuid)
- connect()
- disconnect()
- sendMeta(metadata)
- sendTSD(tsd)