
Security News
Package Maintainers Call for Improvements to GitHub’s New npm Security Plan
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
snakeskin-cli
Advanced tools
CLI plugin for Snakeskin.
npm install snakeskin-cli --global
snakeskin [options] [dir|file ...]
-h, --help
-V, --version
-s, --source [src] path to a template file or a template directory
-p, --params [config] object with compile parameters or a path to a config file
-o, --output [src] path to the output file
-w, --watch watch files for changes and automatically recompile
-m, --mask [mask] mask for template files (RegExp)
--extname [ext] file extension for output files (if "output" is a directory)
-f, --file [src] path to a template file (meta information for the debugger)
-a, --adapter [name] name of an adaptor, for example: ss2react or ss2vue
--adapterOptions [config] object with adaptor parameters or a path to a config file
-e, --exec execute compiled templates
-d, --data [src] data object for execution or a path to a data file
-t, --tpl [name] name of the main template
--output
is a folder, then the result will be saved by the path:--output/%file%(--extname || --exec ? '.html' : '.js')
--params language
and --params words
can be declaring as path to a file.--params language
is a folder, then a file will be searched by the path:%fileDir%/%fileName%('.js' || '.json')
--params language
and --output
can be used special placeholders:%fileDir%
— directory name of the source file (absolute path);%fileName%
— name of the source file without extension;%file%
— name the source file with extension;%filePath%
— full path to the source file.snakeskin '{template foo()}hello world{/}'
Or
echo '{template foo()}hello world{/}' | snakeskin
snakeskin myFile.ss -p prettyPrint:true,tolerateWhitespaces:true
snakeskin ./templates -m '\\.main\\.ss$' -o ./compile
The MIT License.
FAQs
CLI plugin for Snakeskin.
We found that snakeskin-cli 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
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
Product
Socket Firewall is a free tool that blocks malicious packages at install time, giving developers proactive protection against rising supply chain attacks.
Research
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.