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

@ngageoint/mage.web-core-lib

v6.5.8

Published

This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 9.1.13.

Readme

Mage Web Core Lib

This library was generated with Angular CLI version 9.1.13.

Dependency notes

This library depends on Angular's library schematic, as well as Angular's ng-packagr builder, to generate a library project, and bundle the project, respectively. This library's builder also directly invokes rollup as the last step of the bundle process to generate an AMD module.

Ideally, this project would have peer dependencies on these packages to facilitate managing versions, while specifying correlating devDependencies that reference the this root project's Angular-related dependencies. This would allow development of this DevKit library to use the appropriate Angular libraries already installed at the parent level. Similarly, a consuming project that adds this library would have Angular libraries installed at the top level of the workspace, which should satisfy this library's peer dependencies, or cause an error during NPM's install process if the consuming project does not supply compatible Angular libraries.

There are some hangups with that strategy, though, as of version 14 of the Angular suite of packages.

  1. One of Mage's dependencies, @ajsf/material, requires rxjs ^7.0.0, but @angular-devkit/* libraries pin rxjs to 6.6.7, which causes TypeScript type conflicts at build time for this DevKit library. There are presently some undesirable any casts to overcome the rxjs type conflicts. This should be fixed after upgrading to the latest Angular, currently 17, whose @angular-devkit/core package pins rxjs to 7.8.1.
  2. This library tries to reference a dev dependency on rollup through ../node_modules/rollup. This relative path dependency triggers NPM to try to run rollup's prepare script, which invokes a tool called husky, pulled from rollup's devDependencies. However, NPM does not install devDependencies of dependencies, so husky is absent and npm install in this DevKit project exits with error. The workaround is to install husky as a dev dependency of this project, which is not really correct.

Perhaps a better strategy is to just install the dependencies DevKit needs at the top level to manage the Angular family of dependencies in one place, as opposed to managing and reconciling those dependency versions between the root and sub-packages manually or with a custom script. NPM's workspaces feature may also facilitate shared dependency management by hoisting common dependencies, but the documentation does not mention that specifically. Other resources state NPM does in fact hoist common dependencies.

Code scaffolding

Run ng generate component component-name --project core-lib to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module --project core-lib.

Note: Don't forget to add --project core-lib or else it will be added to the default project in your angular.json file.

Build

Run ng build core-lib to build the project. The build artifacts will be stored in the dist/ directory.

Publishing

After building your library with ng build core-lib, go to the dist folder cd dist/core-lib and run npm publish.

Running unit tests

Run ng test core-lib to execute the unit tests via Karma.

Further help

To get more help on the Angular CLI use ng help or go check out the Angular CLI README.