silica-package-github

1.0.0 • Public • Published

silica-package-github

Builds a package index.json for Silica from data in Github releases.

Configuration

Look at config.sample.json for an example and config.js for the schema.

Launch as Server

To start a repository as a server, create config.json and run:

npm start

You can also specify port, host, and a different config file name:

npm start -- --ip 0.0.0.0 --port 8080 --config custom.json

Output repository file

Alternatively, you can output the repository JSON directly:

node index.js --config custom.json > repo.json

or with npx (in another directory):

npx altstore-github --config custom.json > repo.json

The repository JSON will be written to standard output.

Readme

Keywords

Package Sidebar

Install

npm i silica-package-github

Weekly Downloads

1

Version

1.0.0

License

MIT

Unpacked Size

6.11 kB

Total Files

8

Last publish

Collaborators

  • osy86