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 🙏

© 2025 – Pkg Stats / Ryan Hefner

acl-comp-dev2

v0.0.24

Published

ACL Stencil Components Dev

Downloads

3

Readme

acl-comp-dev2

This package contains the stencil components currently being deployed and registered with npm as 'acl-comp-dev2'. These are rough stencil components in early stage development.

Note: the components require an ArcGIS username/token that must be currently valid.

Components:

  • arcgis-infographic: generates an ArcGIS Infographic report for a given latitude/longitude. The component automatically generates an infographic representing data collected in 1,3, and 5 mile areas around that location.

  • arcgis-report-list: this component fetches a list of infographic report templates available to the signed-in user from public reports and those shared by the Organization. The component emits an event that the arcgis-infographic component listens for. When a report is selected in the arcgis-report-list tree, the infographic will update to display that report for the given location.

  • (other c4 UI components)

Add components:

  • Create a web page project with package.json
  • Install this component package
npm install acl-comp-dev2@latest
  • Add script element to the page that points to this component's stencil-component.js file. Example:
   <!-- Runtime JS for acl-comp-dev2 components -->
   <script src="./node_modules/acl-comp-dev2/dist/stencil-components.js"></script>
   <!-- Calcite refs acl-comp-dev2 -->
   <script type="module" src=https://js.arcgis.com/calcite-components/1.0.0-beta.69/calcite.esm.js></script>
   <link rel="stylesheet" type="text/css" href="./node_modules/acl-comp-dev2/dist/assets/css/calcite.css" />
  • Add the arcgis-infographic component element into your page HTML. Example:
    <arcgis-infographic
      id="myInfographic"
      reportId="19cdb404e60843799844d1f229a3ef75"
      reportLocation= "34.055569, -117.182541"
      username="some_username"
      token="Q9coRuBz_Gen51dIITFyLslcF3i_Ej1gp0Oaj1m7-e72BU3ekpYETE1iK0OtV_8Dob8V8q1nmmHglKAu_NvqocTbIr6QuHsR1qsTIaYAvGwDAk9e9abR7huyW5gePS3kO_TIFoTPYf1NOd5q_XCxjcJIEB-xxDt8IfQavd6NH1bG_aDO6lLmeNUfMTZQen2f-X84hOLA4pVKTBQTGE_8czpCxrOfiVCexd8vmCRVBJA."
      style="position: 'relative';width: '560px';height: '440px';border: 'solid #ADD8E6';">
    </arcgis-infographic>
  • Add the arcgis-report-list into your page HTML. Example
<arcgis-report-list 
    id="myReportList"            
    username="some_username"
    token= "Q9coRuBz_Gen51dIITFyLslcF3i_Ej1gp0Oaj1m7-e72BU3ekpYETE1iK0OtV_8Dob8V8q1nmmHglKAu_NvqocTbIr6QuHsR1qsTIaYAvGwDAk9e9abR7huyW5gePS3kO_TIFoTPYf1NOd5q_XCxjcJIEB-xxDt8IfQavd6NH1bG_aDO6lLmeNUfMTZQen2f-X84hOLA4pVKTBQTGE_8czpCxrOfiVCexd8vmCRVBJA.">
</arcgis-report-list>

Note: The 'arcgis-infograpic' component requires a reportId, reportLocation as "latitude,longitude" (like "34.055569, -117.182541"), arcgis username, and arcgis currently valid token. If any of those are missing, the component won't run and displays an '!' icon inside a triangle.