New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

wetfish-basic

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

wetfish-basic

A tiny, customizable JavaScript UI framework.

latest
Source
npmnpm
Version
0.7.11
Version published
Maintainers
1
Created
Source

Basic

A lightweight JavaScript framework that lets you control exactly what you need.

Getting Started

You can start developing with basic by using the included basic.js file. This file comes prebuilt with all available functions. If you need to customize which functions are available, see the building section below.

Usage

Basic can be used much in the same way as jQuery including selectors and function chaining.

$('.selector').on('click', function()
{
   $('.example').addClass('active'); 
});

Some functions are different than their jQuery counterparts, most notably .size(), which returns an object of the element's height / width instead of separate .width() and .height() functions.

Building

Basic is designed to be customizable, allowing you to specifically choose which functions you need. This is ideal for environments where bandwidth is at a premium, like advertising or satellite broadcasting.

To generate a custom build, you can specify which files you want to load in gulp:

gulp build --files "addClass, removeClass, on"

The output can then be found in ./dist/basic.generated.js

Keywords

wetfish

FAQs

Package last updated on 04 May 2016

Did you know?

Socket

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.

Install

Related posts