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

ngx-api-mimic

v1.0.1

Published

Angular API Mock library for demo apps.

Downloads

730

Readme

"Buy Me A Coffee"

NGX API Mimic

This library lets you mock data and create fake API under HTTP Interceptor inside Angular apps. Mocking data functionality let's you generate any type of data based on schematic. Writing schematics is super easy when you have interfaces - your IDE will give you hints what should be inside specific fields! Mocked data can be automatically stored in the LocalStorage. In addition, you can mock whole REST API! This library gives you complete set to create API mocks: angular interceptor, router, controllers, endpoint decorators, guard decorators, pipes and param decorators - lots of things that can be found in NestJS. What's difference between this library and others? You can mock data and API at the same time just by using @UsingSchema on the Controller which lets you create RESTfull Controllers. Also, you can create real data services that call this mocked api endpoints and then just delete interceptor to use your real API!

This library is made for:

  • small demo apps that don't require back-end yet
  • recruitment tasks / homework
  • portfolio apps

Don't use it for production apps - it's just mocking library, not fully functional back-end server. But, you can easily move this code to the NestJS!

This project was generated using Angular CLI version 21.2.0.

Installation

To install, run npm install ngx-api-mimic. You don't need any extra steps after installing this library. Just start using it!

Documentation

Online DOCS

License

ISC

For more details look into LICENSE file.

Credits & Data Sources

Api mock is inspired by beautiful back-end framework NestJS!

Datasets

This library uses datasets from the following projects:

A big thank you to the maintainers for such amazing and large datasets!