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

@just-js/just

v1.2.0

Published

Essential utilities for all your javascript proyects.

Downloads

47

Readme

Just

Essential utilities for all your javascript proyects.

CI Coverage Status npm version

JustJs is a fully-tested and well-documented open-source library that collects heavily-used utilities for javascript environments. Visit justjs.github.io to know more.

Development

  • Run npm run dev and wait for Jest to start.
  • Run npm run doc:dev to check documentation or update the static website. —The browser will automatically start and changes to the source code will update the documentation. Be mindful that it may take some time to automatically reload the website.

You can also start npm run doc:dev with the following environment variables:

  • GIT_STATIC_REPOSITORY is the url to the repository for the static website. By default it's set to the production url, but you can change it to your local clone.

Testing

  • Run npm test to run unit test on --ci mode.
  • Run npm run test:unit to run unit tests.
  • Run npm run test:integration to run integration tests.
  • Run npm run test:e2e to run integrity tests.
  • Run npm run test:dev to run jest on --watch & --coverage mode.
  • Run npm run test:jest to run jest.
  • Run npm run test:coverage to run npm test on --coverage mode.
  • Run npm run test:coverage:coveralls to update coveralls info (internal use only).

Linting

  • Run npm run lint to run eslint.
  • Run npm run style to run npm run lint on --fix mode.

Releasing

  • Run npm run build to build the distributed files under the /dist directory and generate its documentation under /docs/public.
  • Run npm run doc:deploy to deploy the generated documentation to the static website.

Notes

Releases are done in the releases/M.m branch, where M is a major version, and m is the minor version.

Releasing and deployments are done automatically when a release tag (the one generated by npm version) is pushed to this repository.

Releases are generated using the npm run release $next-version for now, where $next-version is a valid version in the semver 2.0 format.

Documentation

This project publishes all documentation written in the source code to justjs.github.io. Just make sure you write valid JSDOC comments.

All source code for the static website lives under docs, but only docs/public contains the generated content that will be pushed to another repository, in order to be published on justjs.github.io.

The following are a list of useful scripts:

  • Run npm run doc:dev to watch for changes, build the website, and update the generated documentation continuously.
  • Run npm run doc v$some-version to document $some-version (don't forget the "v" prefix).
  • Run npm run doc:test to run end-to-end tests.
  • Run npm run doc:jsdoc to run JSDOC.
  • Run npm run doc:jsdoc:dev to watch for changes and update the generated documentation continuously. Same as npm run doc:dev, for now.
  • Run npm run doc:check to serve the generated website.
  • Run npm run doc:minify to minify the generated documentation.

License

This project is under the BSD 3-Clause License, unless otherwise stated.