@thingweb/td-utils
v1.0.0
Published
The package provides utility tools for TDs.
Downloads
43
Keywords
Readme
Eclipse Thingweb - TD Utils
The package provides utility tools for TDs, such as:
- Detecting protocol schemes in a TD
Usage
Install this package via NPM (
npm install @thingweb/td-utils
) (or clone the repo, change tonode/td-utils
and install the package withnpm install
)Node.js or Browser import:
- Node.js: Require the package and use the functions
const tdUtils = require("@thingweb/td-utils");
- Browser: Import the
tdUtils
object as a global by adding a script tag to your HTML.
<script src="./node_modules/@thingweb/td-utils/dist/web-bundle.min.js"></script>
License
Licensed under the Eclipse or W3C license, see License.