
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
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 0 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
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.