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

lab-components

v1.0.2

Published

Components for visualizing FHIR labs.

Downloads

5

Readme

Lab Components

Install

Run npm install.

Running the demo

Run npm run start, then go to http://localhost:4000 and pick a component from the left.

Development

Code Style

Make sure your code style matches the standards established in this project by running npm run lint. Make sure you run this before pushing to this repo.

Building

The npm script npm run start builds, watches for changes and runs the demo app with a mock server.

If you need to run this tasks individually, all steps are available as individual scripts: npm run clean, npm run watch (or npm run build sans watch), npm run run-express

API Documentation

Run npm run build, then npm run docs, then npm run start. Go to http://localhost:4000/docs.

Publishing to NPM

:warning: Make sure your NPM registry is set to Antena's (you can run npm config get registry to check).

Production version

We follow Semantic Versioning for this package. Once a pull-request has been merged to master, and you are ready to publish a new version for consumption by other apps, run:

1) npm version <patch|minor|mayor>

This will:

a) change package.json version property and

b) add a git tag.

For example, if the latest version was 1.0.8 and I just fixed a small bug, I would run npm version patch. This should print something like: + [email protected]

2) git push --follow-tags

3) npm publish

Development version

If you need to publish temporary versions (i.e. work in progress in a particular branch), to test with other apps, do the following:

1) Manually edit the version in package.json, and append a temporary name to the version

i.e. If I branched-off master, where latest version was 0.1.9, and my branch is called CV-1522, I would change: "version": "0.1.9", for: "version": "0.1.9-CV-1522",

2) You don't need to commit or push this change.

3) npm publish --tag beta The beta tag is important, because consumers of this package will not get this version if the try to update to latest.

4) Change you consumer app's package.json to:
"lab-components": "0.1.9-CV-1522"

5) Once you are finished with your tests, undo both package.jsons.