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

photo-app-yarn

v0.1.1

Published

The source code for the ReactJS web application is in the `exercise-rekognition` folder.

Readme

Note for ReactJS developers

The source code for the ReactJS web application is in the exercise-rekognition folder.

Due to the resources associated with this installation...


cd photo-app

yarn start 

Note

Once Compiled successfully Yarn will direct you to view the application On Your Network at your specified Private IPv4 address, substitute this for your Public IPv4 address.

From a browser, connect to the app <x.x.x.x>:3000

Press Ctrl-C to shutdown server.


npm i aws

Update the following code below into the package.json file.

Note

Dependencies must be as reflected here, however you may update the version as necessary.


"name": "photo-app-yarn",
  "version": "0.1.1",
  "private": true,
  "dependencies": {
    "@awsui/components-react": "^3.0.523",
    "@awsui/global-styles": "^1.0.15",
    "@testing-library/dom": "^10.4.0",
    "@testing-library/jest-dom": "^5.14.1",
    "@testing-library/react": "^13.0.0",
    "@testing-library/user-event": "^13.2.1",
    "aws": "^0.0.3-2",
    "react": "^18.2.0",
    "react-dom": "^18.2.0",
    "react-scripts": "5.0.1",
    "web-vitals": "^2.1.4"

Now, run;


npm audit

npm audit fix --force

yarn start

Note

If Yarn fails once you try to start with the appointed exercise public src and updated package.json, from the application folder, you must first run yarn add react-scripts …, In order to recommit dependencies or update package.json you must rm -rf node_modules yarn.lock then run yarn add react-scripts


yarn start

Address if there are any compiled warnings, then create the min-width for the body element in the node_modules/@awsui/global-styles/index.css file.


body {
  margin: 0;
  min-width: 400px;
}

Again, back in photo-app run;


yarn start

Then Ctrl-C again. Now, try;


yarn build

You must;


yarn global add serve

Finally, run production with;


serve -s build

Note

Once again after being Compiled successfully substitute your Public IPv4 address for the specified Private IPv4 address On Your Network.

Visit the site <x.x.x.x>:3000

Press Ctrl-C to shutdown server. Now update your repository to the following package.json code below. Don’t forget to update the node release and all other details to reflect your repo.


"development": [
      "last 1 chrome version",
      "last 1 firefox version",
      "last 1 safari version"
    ]
  },
  "repository": {
    "type": "git",
    "url": "http://github.com/acme/photo-app-yarn"
  },
  "keywords": [
    "ReactJS with Yarn"
  ],
  "author": "John Doe <[email protected]>",
  "license": "MIT",
  "engines": {
    "node": ">18.0"
  },
  "homepage": "http://github.com/acme/photo-app-yarn",
  "licenses": [
    {
      "type": "MIT",
      "url": "http://github.com/acme/photo-app-yarn/LICENSE"
    }
  ],
  "contributors": [
    {
      "name": "John Doe",
      "email": "[email protected]",
      "url": "https://github.com/acme"
    }
  ]
}

photo-app-yarn

ReactJS with Yarn

Installation

Install via YARN:


node --max-old-space-size=8000 $(which yarn) create react-app photo-app  

License

This project is licensed under the terms of the MIT license.