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

jb-commons

v4.3.0

Published

This project is sharing 100% of code (components and pages) to web and mobile. All the components are created using React-native and styled-components/native. Let's check the file structure.

Downloads

15

Readme

📄 About the project

This project is sharing 100% of code (components and pages) to web and mobile. All the components are created using React-native and styled-components/native. Let's check the file structure.

⚙️ Tech stack

🧐 What's inside?

.
├── __mocks__
├── @types
├── node_modules/
├── src/
    |-- __tests__/
    |-- assets/
    |-- components/
    |-- pages/
    |-- styles/
    |-- utils/
    |-- App.tsx
    |-- AppHeader.tsx
├── .editorconfig
├── babel.config.js
├── global.d.ts
├── jest.config.js
├── package.json
├── styled.d.ts
├── README.md
└── tsconfig.json
  1. mocks: Contain only the configuration to SVG.

  2. @types: Module declarations to images.

  3. node_modules/: This directory contains all of the modules of code that your project depends on (npm/yarn packages) are automatically installed.

  4. src/: This directory will contain all of the code related to what you will see on the front-end and mobile, such as your site/app header or a page template. src is a convention for “source code”.

    • 4.1. tests: Here you can create all tests to components/pages that aren't into components/.
    • 4.2. assets/: Here's all the icons that we use in the project and the logo.
    • 4.3. components/: This directory contains all of the components that are shared with the web and app.
    • 4.4. pages/: This directory contains all of the pages that are shared to the web and app.
    • 4.5. styles/: Here you can create files that represent the theme of to project.
    • 4.6. utils/: You can create files, functions, and test that is related to src directory.
    • 4.7. App.tsx: This file is called when you need to create a page, this file is a wrapper that contains the `theme provider
  5. .editorconfig: This file keeps the project formatted into all code editors.

  6. babel.config.js: Here we set all presets and plugins to parser code.

  7. global.d.ts: File that keeps all decorations off modules to project.

  8. jest.config.js: Here is imported the jest config base and add some things to run all the tests.

  9. package.json: A manifest file for Node.js projects, which includes things like metadata (the project’s name, author, etc). This manifest is how npm knows which packages to install for your project.

  10. styled.d.ts: Global declaration to the default theme.

  11. README.md: A text file containing useful reference information about your project.

  12. tsconfig.json: All the configuration to parser the typescript.