
Security News
NVD Concedes Inability to Keep Pace with Surging CVE Disclosures in 2025
Security experts warn that recent classification changes obscure the true scope of the NVD backlog as CVE volume hits all-time highs.
generator-opent2t
Advanced tools
Yeoman generator for an Open Translators to Things translator. Gets you up and running quickly.
First, install Yeoman and generator-opent2t using npm (we assume you have pre-installed node.js).
$ npm install -g yo
$ npm install -g generator-opent2t
Then generate your new project:
$ yo opent2t
_-----_
| | .--------------------------.
|--(o)--| | Welcome to the Open |
`---------´ | Translators to Things |
( _´U`_ ) | generator! |
/___A___\ '--------------------------'
| ~ |
__'.___.'__
´ ` |° ´ Y `
? What is the human-readable name of the thing you are writing a translator for (e.g. Contoso Light)? Wink Light Bulb
? What is the node package name you want to use (e.g. translator-contoso-light)? translator-wink-light
? What schema does this translator implement? (Use arrow keys)
> org.OpenT2T.Sample.SuperPopular.Lamp
org.OpenT2T.Sample.SuperPopular.Shade
org.OpenT2T.Sample.SuperPopular.TemperatureSensor
? What onboarding model does this translator implement? (Use arrow keys)
org.OpenT2T.Onboarding.BluetoothLE
org.OpenT2T.Onboarding.Manual
org.OpenT2T.Onboarding.OAuth2
> org.OpenT2T.Onboarding.WinkHub
org.OpenT2T.Onboarding.ZWave
Writing files...
package.json generated. OpenT2T translators use the MIT license.
create dist\js\thingTranslator.js
create dist\js\manifest.xml
create dist\js\package.json
The generator will ask you some questions, and based on your answers create a starter translator under dist/js. Move to your final desired location, and enjoy!
Yeoman has a heart of gold. He's a person with feelings and opinions, but he's very easy to work with. If you think he's too opinionated, he can be easily convinced. Feel free to learn more about him.
This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.
FAQs
Yeoman generator for an Open Translators to Things translator
The npm package generator-opent2t receives a total of 8 weekly downloads. As such, generator-opent2t popularity was classified as not popular.
We found that generator-opent2t demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Security experts warn that recent classification changes obscure the true scope of the NVD backlog as CVE volume hits all-time highs.
Security Fundamentals
Attackers use obfuscation to hide malware in open source packages. Learn how to spot these techniques across npm, PyPI, Maven, and more.
Security News
Join Socket for exclusive networking events, rooftop gatherings, and one-on-one meetings during BSidesSF and RSA 2025 in San Francisco.