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

@manamerge/fromyoutube

v0.0.2

Published

ui lib learn

Downloads

2

Readme

UI Lib Learn with Server Style

Version License

Description

UI Lib Learn with Server Style is a library for building user interfaces with React. This library provides a set of reusable components and styles that can be easily integrated into React-based projects. It also includes server-side rendering (SSR) support, making it suitable for both client-side and server-side rendering applications.

Installation

To install UI Lib Learn with Server Style, you can use npm or yarn:

npm install ui-lib-learn-with-server-style

or

yarn add ui-lib-learn-with-server-style

Usage

Once installed, you can import and use the components from UI Lib Learn with Server Style in your React project like this:

import React from 'react';
import { Button, Card, Modal } from 'ui-lib-learn-with-server-style';

function MyComponent() {
  return (
    <Card>
      <h2>Hello, UI Lib Learn with Server Style!</h2>
      <Button onClick={() => alert('Button clicked!')}>Click Me</Button>
      <Modal isOpen={true}>This is a modal</Modal>
    </Card>
  );
}

export default MyComponent;

Please ensure that you have installed the required peer dependencies: React and React DOM, as they are not included in the package.

Development

To build the library, use the following commands:

  • For development build:
npm run build:packdev
  • For production build:
npm run build:packprod

The built files will be located in the dist directory.

Storybook

To view the library components and test them in isolation, you can use Storybook:

  • Start the Storybook development server:
npm run storybook
  • Build the Storybook static files:
npm run build-storybook

Publishing

To publish a new version of the library to npm, use the following command:

npm run publish

This will build the production version and publish it to the npm registry.

Scripts

  • prebuild: Cleans the dist directory before each build.
  • build: Uses Rollup to bundle the library.
  • build:packdev: Builds the library for development (non-minified) using the development environment.
  • build:packprod: Builds the library for production (minified) using the production environment.
  • build:watch: Watches for changes and automatically rebuilds the library.
  • publish: Builds the production version and publishes it to npm.
  • test: Placeholder script for running tests (no tests are specified in this project).
  • storybook: Starts the Storybook development server.
  • build-storybook: Builds the Storybook static files.

License

UI Lib Learn with Server Style is licensed under the ISC License.

Author

UI Lib Learn with Server Style is developed by Mikhaylov Oleg. You can contact the author at [email protected].

Dependencies

  • @babel/preset-env: ^7.22.9
  • @babel/preset-react: ^7.22.5
  • @babel/preset-typescript: ^7.22.5
  • @rollup/plugin-commonjs: ^25.0.3
  • @rollup/plugin-node-resolve: ^15.1.0
  • @rollup/plugin-terser: ^0.4.3
  • @rollup/plugin-typescript: ^11.1.2
  • @storybook/addon-essentials: ^7.1.1
  • @storybook/addon-interactions: ^7.1.1
  • @storybook/addon-links: ^7.1.1
  • @storybook/addon-onboarding: ^1.0.8
  • @storybook/blocks: ^7.1.1
  • @storybook/react: ^7.1.1
  • @storybook/react-webpack5: ^7.1.1
  • @storybook/testing-library: ^0.2.0
  • @types/react: ^18.2.15
  • @types/styled-components: ^5.1.26
  • cross-env: ^7.0.3
  • react: ^18.2.0
  • react-dom: ^18.2.0
  • rimraf: ^5.0.1
  • rollup: ^3.26.3
  • rollup-plugin-peer-deps-external: ^2.2.4
  • rollup-plugin-visualizer: ^5.9.2
  • storybook: ^7.1.1
  • styled-components: ^5.3.6
  • typescript: ^5.1.6

Files

  • dist: Contains the built files after running the build script.
  • README.md: The documentation file.

Feel free to use, modify, and distribute this library according to the terms of the ISC License. If you encounter any issues or have suggestions for improvements, please feel free to open an issue on the project's GitHub repository. Happy coding!