Skip to content

LeonVos/ioBroker.template

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ioBroker templates

This is a collection of templates for ioBroker developers to create adapters or VIS widgets. Just select the template you need, copy its contents from the sub directory and begin working on your project.

Alternatively you can use @iobroker/create-adapter to generate a custom skeleton based on your exact needs. We recommend that way if you start developing an adapter or widget.

Templates

Currently, the following templates are available:

Adapter and visualization

Adapter only

Features

All templates come with the following features:

  • IntelliSense (auto completion and tooltips) in supporting editors
  • JavaScript only:
    • ESLint for code quality
    • Type checking based on the ioBroker declarations
  • TypeScript only:
    • ESLint for code quality
    • nyc for code coverage
  • Built-in component tests using mocha & chai (with chai-as-promised) and sinon (with sinon-chai) for:
    • Correctly defined package files
    • and your own tests
  • ... and more to come

Anything missing?

The templates are automatically generated using @iobroker/create-adapter. If you're missing a feature or found a bug, please open an issue in that repository. Or consider using the tool directly for much more configuration goodness.

For developers

Please don't edit these files directly (except this README). Instead the CI builds in the create-adapter repo should be updated.

About

Template adapter for ioBroker

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 62.1%
  • HTML 29.8%
  • TypeScript 7.6%
  • CSS 0.5%