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 🙏

© 2026 – Pkg Stats / Ryan Hefner

jetcheckout

v1.0.10

Published

jetCheckout - The simple checkout for you e-commerce

Downloads

2

Readme

jetCheckout - The simple checkout for you e-commerce

Transform your old e-commerce checkout registration form in a new one.

Transforming the old way of registration form in a new one.

Getting Started

Download the production version or the development version.

In your web page:

<script src="jquery.js"></script>
<script src="dist/jetroute.min.js"></script>
<script>
$("[Selector]").jetCheckout({
    });
</script>

Plugin Configuration and Usage

You need to pass the selector of the form field.

Default Configuration

$("[Selector]").jetCheckout({
  debug: false,
              fieldSelector: ".field",
              requiredSelector: ".required",
              fieldGroupSelector: ".fields",
              activeClass: "ativo",
              profile: {
                  active: "",
                  selector: {
                      pf: ".pessoa.fisica",
                      pj: ".pessoa.juridica"
                  }
              },
              disabled: {
                  class: "disabled"
              },
              success: {
                  class: "success",
                  message: {
                      class: ""
                  }
              },
              warning: {
                  class: "warning",
                  message: {
                      class: ""
                  }
              },
              error: {
                  class: "error",
                  message: {
                      class: "ui basic red pointing prompt label",
                  }
              },
              validate: {
                  default: {
                      type: "",
                      pattern: "",
                      message: "",
                      toValidate: function () {
                          return true;
                      }
                  },
                  date: {
                      type: "regex",
                      pattern: /((([0][1-9]|[12][\d])|[3][01])[-/]([0][13578]|[1][02])[-/][1-9]\d\d\d)|((([0][1-9]|[12][\d])|[3][0])[-/]([0][13456789]|[1][012])[-/][1-9]\d\d\d)|(([0][1-9]|[12][\d])[-/][0][2][-/][1-9]\d([02468][048]|[13579][26]))|(([0][1-9]|[12][0-8])[-/][0][2][-/][1-9]\d\d\d)/u,
                      message: "Data de Nascimento inválida."
                  },
                  creditcard: {
                      type: "regex",
                      pattern: /\d{4}-?\d{4}-?\d{4}-?\d{4}/u,
                      message: "Cartão de crédito inválido."
                  },
                  cpfCnpj: {
                      type: "cpfcnpj",
                      message: "CPF/CNPJ inválido."
                  },
                  email: {
                      type: "regex",
                      pattern: /^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/u,
                      message: "E-mail inválido. Ex: [email protected]"
                  },
                  empty: {
                      type: "empty",
                      message: "Campo obrigatório."
                  },
                  name: {
                      type: "name",
                      pattern: /^[a-zA-ZàáâäãåąčćęèéêëėįìíîïłńòóôöõøùúûüųūÿýżźñçčšžÀÁÂÄÃÅĄĆČĖĘÈÉÊËÌÍÎÏĮŁŃÒÓÔÖÕØÙÚÛÜŲŪŸÝŻŹÑßÇŒÆČŠŽ∂ð ,.'-]+$/u,
                      message: "Preencha com seu come completo. (Ex: João Silva ou Maria Silva)"
                  },
                  number: {
                      type: "regex",
                      pattern: /^\d+$/u,
                      message: "Somente números."
                  },
                  phone: {
                      type: "regex",
                      pattern: /(^|\()?\s*(\d{2})\s*(\s|\))*(9?\d{4})(\s|-)?(\d{4})($|\n)/u,
                      message: "Telefone inválido. (Ex: (16) 3645-9857 ou (16) 98764-5316)"
                  },
                  select: {
                      type: "select",
                      message: "Escolha uma opção."
                  },
                  zipcode: {
                      type: "zipcode",
                      message: "CEP inválido.",
                      onValidateInputComplete: function () {
                      }
                  }
              },
              onValidateClear: function () {
              },
              onValidateFail: function () {
              },
              onValidateSucess: function () {
              },
              onInputComplete: function () {
              },
              onNext: function () {
              },
              onshowNextField: function () {
              },
              disableEvent: function () {
              },
              onFinishedForm: function (form, fields) {
              },
              onUnFinishedForm: function (form, field) {
              }
});

License

Apache 2.0 © Heitor Ramon Ribeiro