
Product
Rust Support Now in Beta
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.
mx-template-generator
Advanced tools
npm i mx-template-generator -global
#how to setup
mx-template-generator
supports nested folder structure
config.js
file can support multiple templates
--template
is not given it will default to template
module.exports = {
template: {},
template2: {},
template3: {}
}
{
name: '<FOLDER>',
type: 'folder',
files: []
}
{
name: '<FILENAME>',
type: 'file',
location: '<PATH OF THE FILE LOCATION FROM THE TEMPLATES>'
}
${fileName}
will be replaced by the filename supplied from the command --name
settings.json
inside the npm package#how to use
cd /Volumes/Passport/projects/sample-redux-toolkit/sampleApp/src/feature
mx-template-generator --name="ADD YOUR FILENAME HERE"
config.js
provided--name="SampleFolder"
foldername will be sampleFolder
mx-template-generate
--name
--template
--force
--debug
--config
global
feel free to message me here on https://github.com/moribaleta/ if there are any other concerns create an issue ticket
FAQs
react script helpers
We found that mx-template-generator 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.
Product
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.
Product
Socket Fix 2.0 brings targeted CVE remediation, smarter upgrade planning, and broader ecosystem support to help developers get to zero alerts.
Security News
Socket CEO Feross Aboukhadijeh joins Risky Business Weekly to unpack recent npm phishing attacks, their limited impact, and the risks if attackers get smarter.