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

@noprotocol/np-form

v1.0.3

Published

noprotocol vue form plugin

Readme

Np-form

Building forms with Vue made easy

Live-demo

Getting Started

Installing

Add the plugin to your project.

Yarn or NPM

yarn add @noprotocol/np-form

# or 

npm i @noprotocol/np-form

Register the component.

import Vue from 'vue'
import npForm from 'npForm'

Vue.use(npForm)

After registering the component, you can use the np-form components inside any other Vue component in your project.

<template>
    <np-form>
        <np-form-field></np-form-field>
    </np-form>
</template>

Configuration

@todo

Components

  1. np-form
  2. np-form-field

API overview

Methods

| name | params | |----------------|--------| | submit | x | | validator | x |

Components

| name | params | |---------------|--------| | np-form | x | | np-form-field | x |

Development

Installing

Clone this repository, open your terminal and navigate to this projects directory, then:

yarn 

# or 

npm install 

Demo

How to run the demo:

cd demo

yarn serve 

Running the tests

How to run the automated tests for this system

Unit

Jest unit tests:

yarn test:unit 

Coding style format

Format code with prettier

yarn format

Deployment

Building for production

yarn build 

Publishing the package

Once all tests have passed, the package is ready to be published.

  1. Login to your npm account

  2. Run this command from your terminal

npm login 

Enter your username and password. This will store the credentials so you don’t have to enter it for every publish.

Update the version

npm version 1.[minor].[patch]

Then publish:

npm publish --access public

Remember to use npm commands npm version patch, npm version minor and npm version major to update the version automatically rather than manually updating them. These commands are based on semantic versioning.

Roadmap

1.0.0. Beta

  • <np-form> component
  • basic <np-form-field> components
  • field validation
  • default form fields:
    • input
    • radio
    • checkbox
    • select
  • default error messages
  • default form field validation rules (rule set)

1.0.0.

  • configuration via top-level api
  • top-level extend method (extend the basic form fields with custom fields)

1.1.0.

  • extra from fields (as stand-alone package)
    • file upload with dropzone and preview
    • date picker

2.0.0.

  • auto generate form based on a schema
  • multi lang support

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

Authors

See also the list of contributors who participated in this project.

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.

License

This project is licensed under the MIT License - see the LICENSE.md file for details.