
Security News
Nx npm Packages Compromised in Supply Chain Attack Weaponizing AI CLI Tools
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.
dfb-luis-apps-lib
Advanced tools
Given an endpoint and key, the middleware returns an object with an array of all apps, with versions per app, with models per version.
Given an endpoint and key, the middleware returns an object with an array of all apps, with versions per app, with models per version.
npm install dfb-luis-apps-lib
Create index.js
with the following:
const LuisDataTable = require('dfb-luis-apps-lib').LuisDataTable;
const getDataTable = async () => {
try {
const values = {
'endpoint': 'https://westus.api.cognitive.microsoft.com/',
'key': 'REPLACE-WITHh-YOUR-AUTHORING-KEY'
};
const features = {
'versions': true,
'models': true
};
return await LuisDataTable.getDataTable(values, features);
} catch (err) {
console.log(err);
}
}
getDataTable().then((dataTable) => {
console.log(JSON.stringify(dataTable));
}).catch(err => {
console.log(err);
})
Change the endpoint and the key to your own authoring key and endpoint.
Run at the terminal or command line with: node index.js > apps.json
.
Open apps.json file to review output.
.d.ts
files are available for typescript projects.FAQs
Given an endpoint and key, the middleware returns an object with an array of all apps, with versions per app, with models per version.
The npm package dfb-luis-apps-lib receives a total of 0 weekly downloads. As such, dfb-luis-apps-lib popularity was classified as not popular.
We found that dfb-luis-apps-lib 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.
Security News
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.
Security News
CISA’s 2025 draft SBOM guidance adds new fields like hashes, licenses, and tool metadata to make software inventories more actionable.
Security News
A clarification on our recent research investigating 60 malicious Ruby gems.