Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Zeta library is a framework allows to create, collect and pack css, scss, js files much easier. Documentation_ during development.
.. image:: https://secure.travis-ci.org/klen/zeta-library.png?branch=develop :target: http://travis-ci.org/klen/zeta-library :alt: Build Status
.. contents::
CSS import support::
@import url(path or http);
JS require support::
require("path or http");
SCSS compile and imports support See SCSS_ for more information about language::
@import url(path or http);
// or Scss style also supported
@import 'compass/css3'
Blueprint css framework Ex. ::
@import url(zeta://blueprint.css);
Compass scss framework Ex. ::
@import url(zeta://compass.scss);
// or
@import 'compass/reset'
Boilerrplate framework support Ex. ::
@import url(zeta://boilerplate.css);
Zeta css, js framework Ex: ::
@import url(zeta://zeta.css);
require("zeta://zeta.js");
Zeta library should be installed using pip or setuptools: ::
pip install zetalibrary
easy_install zetalibrary
$zeta ::
$ zeta help
usage: zeta [-h] [-v] {pack,watch,shell,libs} ...
positional arguments:
{pack,watch,shell,libs}
pack Parse file or dir, import css, js code and save with
prefix
watch Watch directory for changes and auto pack sources
shell A helper command to be used for shell integration
libs Show zeta libs
optional arguments:
-h, --help show this help message and exit
-v, --version show program's version number and exit
$ zeta pack --help
usage: zeta pack [-h] [-p PREFIX] [-f FORMAT] [-c] [-d DIRECTORY] [-o OUTPUT]
[-s SETUP_FILE]
source
positional arguments:
source
optional arguments:
-h, --help show this help message and exit
-p PREFIX, --prefix PREFIX
Save packed files with prefix. Default is '_'
-f FORMAT, --format FORMAT
Force format (css, js, ...). By default format parse
from file extension
-c, --compress Compress packed sources
-d DIRECTORY, --directory DIRECTORY
Add custom directory for search with prefix: 'zeta://'
By default $ZETA_LIBDIR
-o OUTPUT, --output OUTPUT
Set output directory path
-s SETUP_FILE, --setup-file SETUP_FILE
Configuration ini file, with 'Zeta' section
Make sure you`ve read the following document if you are upgrading from previous versions of zetalibrary:
http://packages.python.org/zetalibrary/changes.html
#. Parse all static files in directory ''/tmp/static'' with default prefix::
$> ls -la /tmp/static
drwxr-xr-x 4 www-data www-data 4096 2011-02-16 15:09 main
-rw-r--r-- 1 www-data www-data 335 2011-02-16 15:09 main.css
-rw-r--r-- 1 www-data www-data 343 2011-02-16 15:09 main.js
-rw-r--r-- 1 www-data www-data 0 2011-02-16 15:09 print.css
$> zeta /tmp/static
...
$> ls -la /tmp/static
drwxr-xr-x 4 www-data www-data 4096 2011-02-16 15:09 main
-rw-r--r-- 1 www-data www-data 335 2011-02-16 15:09 main.css
-rw-r--r-- 1 www-data www-data 335 2011-02-16 15:09 _main.css
-rw-r--r-- 1 www-data www-data 343 2011-02-16 15:09 main.js
-rw-r--r-- 1 www-data www-data 343 2011-02-16 15:09 _main.js
-rw-r--r-- 1 www-data www-data 0 2011-02-16 15:09 print.css
-rw-r--r-- 1 www-data www-data 0 2011-02-16 15:09 _print.css
#. Parse /static/main.js
and minify ::
$ zeta -c /static/main.js
#. Watch directory /static/
::
$ zeta watch /static
Under construction.
If you have any suggestions, bug reports or annoyances please report them to the issue tracker at https://github.com/klen/zeta-library/issues
Development of zeta-library happens at github: https://github.com/klen/zeta-library
Licensed under a GNU lesser general public license
_.
Copyright (c) 2011 Kirill Klenov (horneds@gmail.com)
Compass_: (c) 2009 Christopher M. Eppstein http://compass-style.org/
SCSS_: (c) 2006-2009 Hampton Catlin and Nathan Weizenbaum http://sass-lang.com/
jQuery_: (c) 2009-2010 jQuery Project http://jquery.org/
Your feedback are welcome!
.. _Documentation: http://packages.python.org/zetalibrary/ .. _zeta-library: http://github.com/klen/zeta-library.git .. _GNU lesser general public license: http://www.gnu.org/copyleft/lesser.html .. _SCSS: http://sass-lang.com .. _compass: http://compass-style.org/ .. _jQuery: http://jquery.com .. _klen: https://klen.github.com
FAQs
Zeta library is css, js framework.
We found that zetalibrary demonstrated a healthy version release cadence and project activity because the last version was released less than 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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.