npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

patternlock

v2.0.2

Published

Pattern Lock is a light weight plugin to simulate android like pattern lock mechanism for your hybrid app or for a website. It's easy to configure and style so you can have different type of pattern lock according to your need. Is also provide some method

Downloads

1,319

Readme

PatternLock

A light weight plugin to simulate android like pattern lock mechanism for your hybrid app or for a website. It's easy to configure and style so you can have different type of pattern lock according to your need. Is also provide some methods to use this plugin securely.

Installation

The easiest way to use PatternLock is to install it from npm and build it into your app with Webpack.

npm install patternlock

You can then import react-select and its styles in your application as follows:

import PatternLock from 'patternlock';
import 'patternlock/dist/patternlock.css'; //or import this directly on css file if you are not using any bundler 

You can also use the standalone UMD build by including dist/patternlock.min.js and dist/patternlock.min.css in your page.

Documentation

Check demo and documentation on http://ignitersworld.com/lab/patternLock.html

Major updates

v2.0.0

  • Removed jQuery dependency
  • Rewrite on es6
  • Added rollup to bundle and parcel to run dev environment
  • Removed bower and jquery json

v1.0.1

  • Added a option to allow repeating over dots.
  • Added on npm.
  • Fixed setPattern bug for larger matrix.
  • Fixed invalid pattern #15, #3
  • Fixed direction classes issue while directly moving to non near dots.

v0.6.0

  • UMD (AMD, CommonJS) support.

v0.5.0

  • Added directional classes, dir, n,s,e,w,n-e,n-w,s-e,s-w.

v0.4.0

  • Added setPattern, disable, enable methods.

v0.3.0

  • Fixed patternlock support on devices having both mouse and touch input.