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

kasar-ui

v1.0.0

Published

UI library kasarlabs

Downloads

2

Readme

React component library with typescript Boilerplate

This boilerplate will help you to understand how to

  • create themable react component library with the help of react, style-components, typescript & babel 7.
  • write unit tests for components with the help of jest & react-testing-library.
  • transpile typescript files with the help of babel 7.
  • develop components with live reloading wityh the help of storybook

Getting Started

  • You can build your own library by just downloading this repo and change the project name.
  • You can also use the existing components to build your project. you can install the components using npm i -S @react-basis/core.
  • You can also checkout the components here.

Major things to remember

If you want to add any alias then you have to add in below files

  • tsconfig file at the project level so that storybook can understand the alias.
  • tsconfig file at the package level so that your typescript and babel can understand the alias while building packages
  • jest.config.js so that jest can understand the alias.

Before publishing your components you have to create npm user account and org account as well to use the org name as the scope. For eg. I have created react-basis org so that I can use as the scope.

Built With

🔥 react

💅 styled-components

typescript

📚 storybook

💥 babel

🐐 react-testing-library

npm scripts

  • yarn build to build components
  • yarn commit to commit with conventional-commit approach
  • yarn lint:css to run the css lint
  • yarn lint:ts to run the ts lint
  • yarn lint to run both css & ts lint
  • yarn test to run tests and type check
  • yarn test:update to upgrate snapshots
  • yarn test:watch to watch tests
  • yarn type-check to run tsc to check types
  • yarn test:jest to run test only
  • yarn storybook to run storybook for live reloading your components
  • yarn release to publish your components

License

This project is licensed under the MIT License - see the LICENSE file for details