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

cursor-helper

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cursor-helper

Cursor utility implementing all the different behaviors with priority between components

latest
Source
npmnpm
Version
0.0.4
Version published
Maintainers
1
Created
Source

cursor-helper

Cursor utility implementing all the different behaviors with priority between components




Example

Example on antoninlanglade.github.io/cursor-helper/



Features & Requirements



Module Installation & Usage

Installation from npm
# using npm
$ npm install --save cursor-helper

# or using yarn
$ yarn add cursor-helper
Usage with npm and a module bundler
import CursorHelper from 'cursor-helper' // ES6 module import
const CursorHelper = require('cursor-helper') // CommonJS module import

// Declaring a new cursor behavior cursor-example at index 10
const key = 'cursor-example'
CursorHelper.add(key, 10)
// Set cursor for this cursor
CursorHelper.setCursor(key, 'grab')
// Remove cursor
CursorHelper.remove(key)



Development commands

  • npm install - Install all npm dependencies
  • npm run start - Start the dev server with livereload on the example folder
  • npm run build - Bundle your library in CJS / UMD / ESM
  • npm run deploy - Deploy your example folder on a gh-page branch
  • npm run test - Lint your js inside the src folder



License

MIT.

Package

Packaged with https://github.com/pqml/brique :heart:

Keywords

rollup

FAQs

Package last updated on 22 Feb 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