Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

bianco

Package Overview
Dependencies
Maintainers
3
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bianco

Modern DOM helpers library written only in es6

  • 1.1.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
159
decreased by-22.82%
Maintainers
3
Weekly downloads
 
Created
Source

Logo bianco


Build Status NPM version NPM downloads MIT License

Bianco is a modern DOM helpers micro library

Why the hell?

Bianco is designed on the following main concepts that I was not able to find in any similar framework so far:

  • built in es2015 for es2015 projects
  • coded with standards targeting only modern browsers
  • modularity, bianco is totally designed in modules. Any bianco helper can be used alone without installing the whole framework
  • functional, in bianco we use only pure functions to let you build your software combining them however you want
  • size matters, any helper method tries to accomplish a specific functionality with the minimal amount of code
  • optimized for tree shacking and for build tools like rollup
  • readability & simplicity & elegance of the source code

Usage

import { $ } from 'bianco'
// or also
import $ from 'bianco.query'

const coolDivs = $('div').filter(d => d.classList.contains('cool'))

API

Bianco is build out on the top of many micro DOM helpers.
It's strongly recommended to install only the modules you really need

TODO

List of the bianco modules to create:

  • bianco.events
  • bianco.query
  • bianco.dom-to-array
  • bianco.images-loader
  • bianco.viewport
  • bianco.force-reflow
  • bianco.css
  • bianco.attr
  • bianco.pointer
  • bianco.cookie see cookie-js
  • bianco.monad or bianco.chain? see ruit
  • bianco.stream see erre
  • bianco.animate see animore
  • bianco.ajax (naa.. explain why fetch is better)
  • bianco.template (why? use es6 template strings instead!)

Keywords

FAQs

Package last updated on 01 Dec 2018

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc