Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
@substrate/index-tpl-crud
Advanced tools
Script to update index.html of Parity projects that publish their rustdocs in github.
This package used to handle the index.html
change for Parity projects that have their versioned
rustdocs published in GitHub Pages. An example is
Substrate, with the rustdocs deployed at its
gh-pages
branch.
Usage: index [options] [command]
Options:
-V, --version output the version number
-h, --help display help for command
Commands:
init <ghRepo> <projectName> [outputPath] initialize an index page
upsert [options] <inputPath> <ref> [display] upsert a REF into the index page
rm [options] <inputPath> <ref> remove a REF from the index page
help [command] display help for command
To generate a new index.html
, run something like:
index-tpl-crud init substrate Substrate index.html
<ghRepo>
: Required. This is the name of the repository without the user /
organization name. So for Substrate with URL at https://github.com/paritytech/substrate
,
use substrate
.<projectName>
: Required. Project name it will display as.[outputPath]
: Optional. The output. If unspecified, it will be index.html
.To add a new version of rustdocs, run something like:
index-tpl-crud upsert -l index.html monthly-2021-10
-l
: Flag. Specified this ref has been aliased as latest
as well.<inputPath>
: Required. The input file, where it read the html content, update them, and
write to also.<ref>
: Required. The branch or tag of source where the rustdocs is built from.[display]
: Optional. The name of the link. If unspecified, it will use the value of ref
.To remove a version of rustdocs, run something like:
index-tpl-crud rm index.html monthly-2021-10
parameters similar to upsert
sub-command.
FAQs
Script to update index.html of Parity projects that publish their rustdocs in github.
The npm package @substrate/index-tpl-crud receives a total of 1 weekly downloads. As such, @substrate/index-tpl-crud popularity was classified as not popular.
We found that @substrate/index-tpl-crud demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 18 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
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.