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

zyper-js

v0.0.12

Published

Designed for users who don't have perfect eyes, but whose eyesight is not bad enough for them to have assisting software such as a screen reader.

Downloads

6

Readme

Zyperjs

Designed for users who don't have perfect eyes, but whose eyesight is not bad enough for them to have assisting software such as a screen reader.

Zyper will attach itself to the text fields you specify then enlarge and mirror the user's text input above in a clear and visible display box. Zyper is discreet, only visible when necessary, the display box will only appear when a user is actively using an input.

Recommended to be used with text inputs where accuracy is crucial to a good UX, eg. a payment form.

Usage

Adding Zyper to your website is designed to be simple and fast, while still offering maximum configuration.

Simply include Zyperjs on your page:

<script type="text/javascript" src="path/to/zyper/zyper.min.js"></script>

Then call Zyper and pass in your configuration options:

const options = {
    textFields: '.form-wrap [type="text"]',
    backgroundColor: '#2980b9',
    borderColor: '#e1e1e1'
};

new Zyper(options);

List of Options

Options are passed in by an object, if an option is not specified Zyper will fall back to a default.

textFields

Pass in a CSS selector as a string to target specific text inputs.

Passing true selects all text inputs on the page.

Leaving this option blank specifies all text inputs with the data attribute data-zyper="true".

customClass

Pass in a custom class as a string.

Leaving this option blank has no effect.

backgroundColor

Pass in a color as a string, accepts text, hex and rgba.

Leaving this option blank defaults to a dark blue.

font

Pass in a font as a string.

Leaving this option blank defaults to "Lucida Grande", Helvetica, Arial, sans-serif.

textColor

Pass in a text color as a string, accepts text, hex and rgba.

Leaving this option blank defaults to white.

borderColor

Pass in a border color as a string, accepts text, hex and rgba.

Leaving this option blank defaults to white.

borderRadius

Pass in a pixel or percentage value as a string.

Leaving this option blank defaults to 6px.