
Product
Introducing Socket Firewall Enterprise: Flexible, Configurable Protection for Modern Package Ecosystems
Socket Firewall Enterprise is now available with flexible deployment, configurable policies, and expanded language support.
@dmn-arc-core-components/tools_mock-ans
Advanced tools
Mock ANS is an npm package that you can use to quickly mock ANS objects for rapid development with Core Components.
It is designed to match up with the ANS Schema.
All of the content is generated using various npm packages, so nothing is secret, and some of it is kind of fun!
It is particularly useful for mocking up the docz portions of Core Components.
Within your project repo:
npm install @arc-core-components/mock-ans
And in any JS files where you want an ANS object:
import { Story } from "@arc-core-components/mock-ans";
const myCoolANS = new Story();
Currently, you can pass in an object with a key of website to specify what
websites this ANS should be part of, like this:
const myCoolANSStoryWithASpecificWebsite = new Story({
website: "my-ans-website"
});
More support might be added for this functionality, as we go along.
FAQs
### What is this?
We found that @dmn-arc-core-components/tools_mock-ans demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
Socket Firewall Enterprise is now available with flexible deployment, configurable policies, and expanded language support.

Security News
Open source dashboard CNAPulse tracks CVE Numbering Authorities’ publishing activity, highlighting trends and transparency across the CVE ecosystem.

Product
Detect malware, unsafe data flows, and license issues in GitHub Actions with Socket’s new workflow scanning support.