Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
echohub-alexa-sdk
Advanced tools
This library is intended to be used when writing an Alexa Skill targeted at EchoHub users.
yarn add echohub-alexa-sdk
The SDK currently assumes you are using Alexa Skills Kit for NodeJS
import EchoHubAlexaSDK from 'echohub-alexa-sdk';
const echohub = new EchoHubAlexaSDK();
const languageStrings = {
'en-US': {
translation: {
HELLO: 'Hi! Welcome to my cool skill using EchoHub'
TIME: 'The time is {{time}}'
},
},
};
const handlers = {
TimeIntent() {
args = {
a: 1.
}
echohub.execute('mycommand', args).then((response) => {
if (response.errorType) {
EchoHubApi.handleError(alexa, response);
return;
}
this.emit(:tell, this.t('RESPONSE', { time: response.time });
}
},
};
export default (event, context) => {
const alexa = Alexa.handler(event, context);
alexa.appId = process.env.ALEXA_SKILL_ID;
// If you don't localise your own module just don't pass anything below
alexa.resources = EchoHubApi.languageStrings(languageStrings);
echohub.handler(event, context);
alexa.registerHandlers(handlers);
alexa.execute();
};
After checking out the repo, run yarn test
to run the tests.
To release a new version:
This will run the tests, update the version, create a git tag for the version, push git commits and tags. Publish the module file to npmjs.com.
Bug reports and pull requests are welcome on GitHub at https://github.com/echohubio/echohub-alexa-sdk. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.
The gem is available as open source under the terms of the ISC License.
1.0.3 (2017-12-30)
FAQs
EchoHub Alexa Skill Lambda SDK
The npm package echohub-alexa-sdk receives a total of 0 weekly downloads. As such, echohub-alexa-sdk popularity was classified as not popular.
We found that echohub-alexa-sdk demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.