
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.
@google/create-local-home-app
Advanced tools
Create a new Local Home app project targeting the Local Home SDK with optional bundler support.
npm init @google/local-home-app app/
cd app
npm run build
npm start
This will generate a new project scaffold with no bundler configuration enabled, and begin serving the app from your local machine.
To create a new Local Home app, run:
npm init @google/local-home-app app/
This will generate a new TypeScript project with the following structure:
app/
├── index.ts
├── test.ts
├── index.template.html
├── package.json
├── tsconfig.json
├── tslint.json
└── .gitignore
Open index.ts
and begin adding your fulfillment code for the Local Home intents.
The generated project supports the following commands:
npm run build
Compile the TypeScript source (optionally bundling the JS)
and generate index.html
for hosting the development app into dist/
npm start
Start a local development server with the files in dist/
npm test
Run ava tests from test.ts
.
npm run compile
Check that TypeScript code compile without creating any output.
npm run lint
Check TypeScript files for common syntax and formatting issues.
To create a new project with support for one of the following bundlers,
add the --bundler
option as shown in the options below:
webpack
Generate a new project with support for webpack.
npm init @google/local-home-app app/ --bundler webpack
rollup
Generate a new project with support for rollup.js.
npm init @google/local-home-app app/ --bundler rollup
parcel
Generate a new project with support for Parcel.
npm init @google/local-home-app app/ --bundler parcel
This software is available under the Apache License, Version 2.0. See LICENSE.
FAQs
Create Local Home SDK apps.
The npm package @google/create-local-home-app receives a total of 1 weekly downloads. As such, @google/create-local-home-app popularity was classified as not popular.
We found that @google/create-local-home-app 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.