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 🙏

© 2026 – Pkg Stats / Ryan Hefner

smweb-frontend

v1.0.0

Published

Repository for the School Connect frontend codebase.

Readme

Introduction

Repository for the School Connect frontend codebase.

School Connect is an offline-first data-entry application for Schools taking part in WFP's School Connect pilot programme. For more detailed information, see this project's Azure DevOps wiki.

Getting Started

Requirements

Using a Node Version Manager to install Node.js and npm is strongly suggested.

Yarn is recommended over plain npm.

Setting up the development environment

Within the project root folder, execute these commands

  1. Install all dependencies and development dependencies according to package.json

    $ yarn install
  2. Configure .env.local file

    $ cp .env.local.example .env.local

If you are a fullstack developer and have the BE running on your machine, leave it as it is. If you are a FE developer, make REACT_APP_API_URL point to the dev or qa environment. In both cases, be sure to point it to the correct API version.

For more information on how .env.local works see CRA documentation.

  1. You will need to export the fontawesome token locally - please ask for the token or check the env variables on azure. Date set: 31:03:2022

    $ export FONTAWESOME_NPM_AUTH_TOKEN=***********

  2. Start the FE server

    $ yarn start

This starts the FE server (defaults to port 3000) and opens your default browser to http://localhost:3000/

Account Creation

When starting the frontend for the first time it is required to create an account through CIAM. If you require a admin account add your email to the backend settings. This will automatically make your account a admin upon creation.

Building

Run yarn build

Testing (Jest)

Run yarn test

Testing (Cypress)

When using end to end testing make sure to uncomment the REACT_APP_E2E enviroment variable from the .env.local file

  1. In a terminal, run the backend

  2. In another terminal, run the frontend:

    $ yarn start
  3. In another terminal, run:

    $ yarn cypress open
  4. Within the Cypress GUI, click on "Run all specs".

Translating

We use React-Intl from formatjs.io/.

Its API is fine but the tooling is lackluster. For this reason, the translationcli.py script was written.

Translation workflow

  1. Run setup to install Translation dependency and pip

    $ yarn trans:setup
  2. extract .csv file and make translations using google_trans_new then merge file back into .json files usable by React Intl

    $ yarn trans:translate

Formatting

To comply with formatting checks performed in CI, run yarn pretty

Contribute

See this project's Azure DevOps wiki for detailed information about development workflows.