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

@bamachoub/core

v1.0.6

Published

Core library for bamachoubd apps

Downloads

1

Readme

Bamachoub Core Library

Includes assets, core functionality, required hooks and most used values for bamachoub web and mobile apps.

Updating package

How to test updated package locally

  1. Clone current repo to your pc
  2. Update the code or assets as you wish
  3. Run npm link to link @bamachoub/core to your npm locally
  4. In your project dir run npm link @bamachoub/core to update package
  5. Test changes but remember that these changes are local
  6. After each npm install in your source project you need to link again. (if you added @bamachoub/core as depencency)
  7. To publish npm package read next section

How to publish changes to package

  1. Make required changes to the repo
  2. Change package version following semver rules mentioned in next section
  3. Make sure you are added as a developer to bamachoub org in npm website
  4. Run npm login then login with your npm account
  5. Run npm publish --access public
  6. Now you can see changes here

Semantic versioning in npm

The version value is a combination of 3 digits separated by dot operator. Let’s say the version is a.b.c

First value (a in a.b.c) specifies the major version of the package — It means this version has Major code changes and it might contain breaking API changes.
Second value (b in a.b.c) specifies the minor version which contains minor changes but will not contain breaking API changes.
Third value (c in a.b.c) specifies the patch version which usually contains bug fixes.

Lets consider you just added a readme.md file which is not an API change so you can increment the patch version which is the last digit by 1.

So change the version inside package.json file from 1.0.0 to 1.0.1 and run the npm publish command again.

Values

Exists of colors, enums, layout values, quantities and share strings.