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

vue-plugin-starter

v1.2.7

Published

## Notes

Downloads

73

Readme

vue-plugin-starter

Notes

new tests

Releasing pre-release: release-it major --preRelease=beta

Results In: 2.0.0-beta.0

Then after that, you don't need to include the type of update (such as major used here).

release-it --preRelease=beta

Results In: 2.0.0-beta.0

MAKING IT WORK

For release-it

  • Needed to run the following after obtaining the token via Github:
export GITHUB_TOKEN="123123123"
  • Needed this line for jest.config.js to make it work and not throw import errors:
transformIgnorePatterns: ["<rootDir>/node_modules/"];

GitHub open issues

Npm version

MIT License

Usage

<VEditor :text="hello"></VEditor>
import { VEditor } from "vue-plugin-starter";

export default {
  components: {
    VEditor
  }
};

API

v-editor

An Amazing Editor Component

  • author - David Royer
  • license - MIT
  • VEditor

slots

  • default

  • label Use this slot to set the checkbox label

props

  • msg String (optional)

    Test prop for unit tests

  • model Array (optional)

    The checkbox model

  • disabled Boolean (optional)

    Initial checkbox state

  • enabled Boolean (optional) default: true

    Initial checkbox value

  • label String (optional) default: 'Unamed checkbox'

    The checkbox label

  • object Object (optional) default: null

  • bool-false Boolean (optional) default: false

data

  • initialValue

    The initial component value. Used to detect changes and restore the initial value.

initial value: 'The initial value!'

  • currentValue

initial value: 'And the current value!'

computed properties

  • id

    The component identifier. Generated using the initialValue data.

    dependencies: initialValue

  • changed

    dependencies: currentValue, initialValue

  • withNoDependencies

events

  • loaded

    Emitted when the component has been loaded

  • enabled

    Emitted the event enabled when loaded Multilign

methods

  • check()

    Check if the input is checked

  • prop()

  • enable(value)

    Enable the checkbox

Installation

npm install vue-plugin-starter

Project setup

yarn install

Compiles and hot-reloads for development

yarn run serve

Compiles and minifies for production

yarn run build

Lints and fixes files

yarn run lint

Run your unit tests

yarn run test:unit

Update the API section of README.md with generated documentation

yarn run doc:build

Run style guide dev server

yarn run styleguide

Generate a static HTML style guide

yarn run styleguide:build