Security News
Opengrep Emerges as Open Source Alternative Amid Semgrep Licensing Controversy
Opengrep forks Semgrep to preserve open source SAST in response to controversial licensing changes.
zepto-modules
Advanced tools
Zepto (zepto@28.09.2016 - 1.2.0) in CommonJS modules
$ npm install --save zepto-modules
Configs (recommended):
// default config (zepto, event, ajax, form, ie)
var $ = require('zepto-modules');
// or
//var $ = require('zepto-modules/_default');
// --------------------------------
// custom config (zepto, event, form, ie, detect, data, touch, stack)
var $ = require('zepto-modules/_custom');
// --------------------------------
// min config (zepto, event, ie, stack)
var $ = require('zepto-modules/_min');
// --------------------------------
// write your own (./my-zepto)
var $ = require('zepto-modules/zepto');
require('zepto-modules/event');
require('zepto-modules/ajax');
require('zepto-modules/form');
require('zepto-modules/ie');
module.exports = $;
// later
var $ = require('./my-zepto');
When-you-need-it
™:
var $ = require('zepto-modules/zepto');
var each = require('cmnjs/each');
// these modules (singleton) extend zepto with methods which are available everywhere in your modules
require('zepto-modules/event');
require('zepto-modules/ie'); // kinda important
// rest of module
You can extend configs:
var $ = require('zepto-modules/_custom');
require('zepto-modules/ajax')
$.ajax({
type: 'GET',
url: '/projects',
success: function(data) {
// do sth
}
});
import $ from 'zepto-modules';
// or
// import $ from 'zepto-modules/_default';
1.0.1
FAQs
Zepto in CommonJS modules
The npm package zepto-modules receives a total of 92 weekly downloads. As such, zepto-modules popularity was classified as not popular.
We found that zepto-modules 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
Opengrep forks Semgrep to preserve open source SAST in response to controversial licensing changes.
Security News
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.