@decthings/model
v0.0.4
Published
Create a Decthings model using JavaScript/TypeScript
Downloads
60
Readme
Decthings model using JavaScript
Use JavaScript/TypeScript to create a Decthings model.
Setup
Create a Decthings model using JavaScript/TypeScript by going to the create model page on Decthings, and select JavaScript or TypeScript as the language. This package is then by default installed and used within your model.
Manually, you can install this as a dependency within your model using npm install @decthings/model
.
Execute a model
When you create a model you export it from your code using export default
. There is of course also another side which imports the model and executes it. This is handled automatically by Decthings when you run a model in the cloud, but in case you want to run a Decthings model on your own system you can use the Rust crate decthings-model-executor.