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

usptostrap

v2.2.10

Published

USPTO Design System Base Theme v2.x

Downloads

624

Readme

USPTO Design System v2.x Theme (usptostrap)

The USPTO's Design System Theme, an open source design library based on the United States Web Design System (USWDS) and Bootstrap 4.

We welcome your feedback on this design library!

  • Supporting an older and/or legacy application? Take a look at version 1.x of our UI Design Library.
  • Looking for UX tools and assets to support software development? Check out our UX resources site.

Installing

Install the project's dependencies with:

npm install

Building & running locally

This project can be built with SASS.

To build the front-end assets (fonts/CSS/JS) use:

npm run build

To watch sass files while making changes locally use:

npm run dev

Using the USPTO Design System

How you implement the USPTO Design System depends on the needs of your project.

(Preferred) As a dependency within NPM:

Add the following to your package.json file:

"dependencies": {
  "bootstrap": "^4.6.0",
  "usptostrap": "^2.2.10"
  }

Adding directly:

npm install usptostrap

(Alternative) Add the precompiled theme to your site or application:

  • Download the lastest source code.
  • Copy the /assets to the root folder to your project.
  • Add the following code to the head of your HTML pages or templates:
<!-- USPTO Design System v2.x Theme -->
<link rel="stylesheet" href="assets/css/usptostrap.css">
<!-- Optional libraries -->
<link rel="stylesheet" href="assets/css/uswds-combobox.css">
<link rel="stylesheet" href="assets/css/uswds-datepicker.css">
<link rel="stylesheet" href="assets/css/uswds-overrides.css">

Disclaimer

The United States Department of Commerce (DOC) GitHub project code is provided on an "as-is" basis and the user assumes responsibility for its use. DOC has relinquished control of the information and no longer has responsibility to protect the integrity, confidentiality, or availability of the information. Any claims against the Department of Commerce stemming from the use of its GitHub project will be governed by all applicable Federal law. Any reference to specific commercial products, processes, or services by service mark, trademark, manufacturer, or otherwise, does not constitute or imply their endorsement, recommendation or favoring by the Department of Commerce. The Department of Commerce seal and logo, or the seal and logo of a DOC bureau, shall not be used in any manner to imply endorsement of any commercial product or activity by DOC or the United States government.


Acknowledgments

  • U.S. Web Design Standards (USWDS)
  • Bootstrap 4 and bootstrap icons
  • Material icons