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

estoolbox

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

estoolbox

A collection of tools intended to augment the development of ES2015 targeted applications.

  • 0.3.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Weekly downloads
 
Created
Source

ESToolbox

Build Status NPM Version License: MIT

A collection of tools intended to augment the development of ES2015 targeted applications.

Where do I start?

1. Install the package.

# NPM
npm install estoolbox --save-dev

# Yarn
yarn add estoolbox --dev

2. Import and use the desired component.

Affix

Provides the ability to affix content to the top of the window on scroll.

import {Affix} from "estoolbox";

Affix.top(".top-nav", ".content");
@import "estoolbox/affix";

.my-nav {
  @include affix();
  height: 300px;
}

.my-content {
  @include affix-buffer(300px);
}

This scss example assumes you have added estoolbox to your load path, such that estoolbox maps to associated the node_modules directory.

Router

Provides the ability to perform actions based on changes in the URL hash.

import {Router} from "estoolbox";

Router.when("/about", () => {
  // Show the about route content.
});

Router.when("/person/:username", (route) => {
  const username = route.variables.username;
  // Show the person content for this user.
});

Created Down Under by Daniel Tedman.

Australia

FAQs

Package last updated on 17 Nov 2017

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