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

nasawds

v4.0.63

Published

The same [USWDS](https://designsystem.digital.gov/) you know and love, with NASA theming!

Downloads

1,379

Readme

NASA Web Design System

The same USWDS you know and love, with NASA theming!

NASA Theme customizations

  • Minor tweaks to colors in _uswds-theme-color.scss
  • Headings use helvetica instead of source sans pro font in _uswds-theme-typography.scss
  • NASA meatball favicons in theme/favicons
  • Dark header option and other minor visual tweaks in _uswds-theme-custom-styles.scss
    • See it live!
    • To use the dark header option, add the .usa-header--dark class to the <header> element.
    • For the close icon in the mobile slideout menu to appear white instead of dark gray replace close.svg with close-white.svg in this line of html <button class="usa-nav__close"><img src="/assets/img/close.svg" alt="close"></button>

How to Use

Like USWDS, NASAWDS has two installation options:

  • Direct download - Download the .zip file attached to the latest stable release under the assets section. Extract then add the files to your project's code base. For more details see this section in the USWDS developer documentation.

  • Install using npm - NASAWDS is available as an npm package. To install via npm, follow these instructions, but where it says uswds replace with nasawds. Once installed, you will find the compiled asset files in the node_modules/nasawds/src/ directory.

For more detailed installation and usage instructions see the USWDS developer documentation.

Creating a webpage using NASAWDS

  • Create an index.html file at the top of your repository
  • Paste into that file
<html>
  <head>
    <meta charset="utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <title>My Example Project</title>
    <link rel="stylesheet" href="./assets/css/styles.css" />
  </head>
 <bod>
  <script src="assets/js/uswds.min.js"></script>

</body>
</html>
  • Go to this USWDS page of page templates, find a page template you like, click the 'COMPONENT CODE' button, and copy the HTML code out of the window and into your index.html file between the <body> tags.
  • Note that the page templates are form an earlier version of USWDS so the relative links to the CSS, JS, and Img files need to be changed. If you used NPM to get the NASAWDS files, you'll want to do a replace all on the index.html file you currently have such that all assets/ are replaced with node_modules/nasawds/src/.
  • You should now have a nice looking index.html page to start editing from.

Updates

NASAWDS now updates to the latest version of USWDS automagically. (thanks GitHub Actions!)

NASAWDS uses a GitHub Action workflow to check for an updated version of USWDS every 15 days and updates itself automatically with the latest version on the develop branch, and releases a beta pre-release on GitHub and NPM. A two week window is provided for testing. Any issues found should be opened in this repository. After two weeks, if no unresolved issues are present in this GitHub repository, a GitHub Action workflow creates a new stable release on GitHub and NPM and merges develop into master.