Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
jade-cli
Advanced tools
Changelog
[0.1.1] - 2015-09-29
SIGINT
(^C
) to signify end of input in standard input mode is deprecated, and will be removed in 1.0.0. Instead, use ^D
which means "end of file."-O
if the corresponding CLI option is not specified.\
) (#11).Readme
Jade's CLI interface
$ jade [options] [dir|file ...]
Render <file>
s and all files in <dir>
s. If no files are specified,
input is taken from standard input and output to standard output.
-h, --help output usage information
-V, --version output the version number
-O, --obj <str|path> JSON/JavaScript options object or file
-o, --out <dir> output the rendered HTML or compiled JavaScript to
<dir>
-p, --path <path> filename used to resolve includes
-P, --pretty compile pretty HTML output
-c, --client compile function for client-side runtime.js
-n, --name <str> the name of the compiled template (requires --client)
-D, --no-debug compile without debugging (smaller functions)
-w, --watch watch files for changes and automatically re-render
-E, --extension <ext> specify the output file extension
-H, --hierarchy keep directory hierarchy when a directory is
specified
-s, --silent do not output logs
--name-after-file name the template after the last section of the file
path (requires --client and overriden by --name)
--doctype <str> specify the doctype on the command line (useful if it
is not specified by the template)
Render all files in the templates
directory:
$ jade templates
Create {foo,bar}.html
:
$ jade {foo,bar}.jade
Using jade
over standard input and output streams:
$ jade < my.jade > my.html
$ echo "h1 Jade!" | jade
Render all files in foo
and bar
directories to /tmp
:
$ jade foo bar --out /tmp
npm install jade-cli -g
MIT
FAQs
Jade's CLI interface
The npm package jade-cli receives a total of 47 weekly downloads. As such, jade-cli popularity was classified as not popular.
We found that jade-cli demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 5 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
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.