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

sql-editor-component

v1.0.17

Published

This document describes:

Readme

NPM Package – Usage Guide

This document describes:

  1. How to run this NPM package locally
  2. How to publish the package and release a new version

1. Running the NPM package locally

1.1. Requirements

  • Node.js (LTS recommended)
  • npm (comes bundled with Node.js)
  • Access to this package repository

Check versions:

node -v
npm -v

1.2. Install dependencies

Install dependencies:

npm install

1.3. Run locally (development)

If the package exposes a dev script:

npm run dev

1.4. Use the local package in another project (npm link)

To test this package inside another local project:

Inside the package directory:

npm link

Inside the consuming project:

npm link sql-editor-component

The project will now use the local version of the package.

💡 Hint To verify that the consuming project is actually using the local version of sql-editor-component, run:

npm ls sql-editor-component

To unlink:

npm unlink sql-editor-component

1.5. Propagate changes to the consuming project (build)

Each time you make changes to the sql-editor-component package, you must rebuild it so the changes are reflected in the consuming project (because the linked files come from dist):

npm run build

This will also perform TypeScript checks.

For faster development (without type checks), you can run a Vite-only build:

npm run vite-build

Relevant fields in package.json:

{
  "main": "./dist/sql-editor-component.umd.js",
  "module": "./dist/sql-editor-component.es.js"
}

2. Publishing the NPM package and releasing a new version

2.1. Login to npm

npm login

Verify login:

npm whoami

2.2. Update the package version

Versions are managed via Semantic Versioning:

  • patch – bug fixes (1.0.0 → 1.0.1)
  • minor – backward-compatible features (1.0.0 → 1.1.0)
  • major – breaking changes (1.0.0 → 2.0.0)

Examples:

npm version patch
npm version minor
npm version major

This will:

  • update the version in package.json
  • create a git commit and tag

Push changes and tags:

git push && git push --tags

2.3. Publish to npm

Publish a new version:

npm publish

If this is a scoped package and should be public:

npm publish --access public

2.4. Verify publication

After publishing, verify the package:

npm view sql-editor-component

Or install it in a new project:

npm install sql-editor-component