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

cra-template-mag-react-template

v1.5.4

Published

The MAG template for Create React App.

Readme

mag-react-template

GitHub release (latest SemVer) GitHub Release Date GitHub last commit GitHub issues Libraries.io dependency status for GitHub repo npm semver GitHub license

MAG React Template for ArcGIS API JavaScript with create-react-app

This repo is a Maricopa Associations of Governments (MAG) template to create a react project using all of the features of Create React App.

:key: Keywords

react react-template create-react-app cra-template template mag maps

:gear: Installation

When creating a new react-project, run the following command:

Install with npx

npx create-react-app [my-app-name] --template mag-react-template
$ yarn create-react-app [my-app-name] --template mag-react-template

[my-app-name] should be changed to the actual name of your project and must follow the convention package.json guidelines.

package.json Guidelines

Output

Running this commands will create a directory called [my-app-name] inside the current folder. Inside that directory, it will generate the initial project structure and install the dependencies:

[my-app-name]

├── README.md
├── LICENSE
├── config-overrides.js
├── node_modules
├── package.json
├── .gitignore
├── public
│   ├── images
|   |   |── images
|   |   |   └── favicons
│   ├── favicon.ico
│   ├── google.html
│   ├── humans.txt
│   ├── index.html
│   ├── LICENSE
│   ├── manifest.json
│   ├── robots.txt
│   └── images
|       |── images/favicons
└── src
    ├── components
    |   |── Layers
    |   |── Map
    |   |   |── map.scss
    |   |   |── map.js
    |   |   |__ package.json
    |   |── Widgets
    |   |   |── basemapToggleWidget.js
    |   |   |── homeWidget.js
    |   |   |── locateWidget.js
    |   |   |── logoWidget.js
    |   |   |── searchWidget.js
    |   |   |── widgets.scss
    |   |   |__ zoomWidget.js
    ├── config
    ├── context
    |   |── DataContext.js
    ├── images
    |   |── various images
    ├── styles
    |   |── colors.scss
    |   |── typography.scss
    |   |── App.scss
    |   └── index.scss
    ├── App.js
    ├── App.test.js
    ├── index.js
    ├── reportWebVitals.js
    └── setupTests.js

Get Started

Once the installation is done, you can open your project folder:

cd [my-app-name]

In the project directory, you can run:

npm start

Runs the app in development mode. Open http://localhost:3000 to view it in the browser.

The page will automatically reload if you make changes to the code. You will see the build errors and lint warnings in the console.

Version

version | 1.5.4

  • Updated | 2023-04-10

  • Created | 2021-05-18

Releases will be numbered with the following format:

<major>.<minor>.<patch>

And constructed with the following guidelines:

  1. MAJOR version when you make incompatible API changes bumps the major resets minor and patch
  2. MINOR version when you add functionality in a backwards-compatible manner bumps the minor resets patch
  3. PATCH version when you make backwards-compatible bug fixes and misc changes bumps only the patch

Technologies

A list of technologies used within the project:

Requirements

Use of the ArcGIS API for JavaScript is subject to the terms described in the product-specific terms of use. Learn more about licensing here.

Resources

This repo demonstrates how to use @arcgis/core ES modules with create-react-app.

For additional information, see the Build with ES modules Guide topic in the SDK. This project was bootstrapped with Create React App. Good YouTube Video: Create React App Templates - Learn how to create your own template for CRA

Learn More

You can learn more in the Create React App documentation.

To learn React, check out the React documentation.

:star: Credits

Maricopa Association of Governments (MAG) and the MAG member agencies

:zap: Disclaimer

:warning: Licensing

Copyright 2023 Maricopa Association of Governments (MAG)

This project is licensed under the MIT license.

GitHub license

(Back to top)