
Product
Reachability for Ruby Now in Beta
Reachability analysis for Ruby is now in beta, helping teams identify which vulnerabilities are truly exploitable in their applications.
@mparticle/audience-typescript-schema
Advanced tools
This repository contains TypeScript schema definitions for mParticle Audiences. It provides type-safe interfaces and types for working with mParticle's audience features.
The schema is organized into several key components:
npm install @mparticle/audience-typescript-schema
# or
yarn add @mparticle/audience-typescript-schema
Before using or developing with this package, ensure you have the following prerequisites:
jq command-line JSON processor must be installed and available in your system's PATH.To verify jq is installed, run:
jq --version
If you do not have jq, you can install it using Homebrew on macOS:
brew install jq
Or see the jq installation guide for other platforms.
import { Audience, Query, Expression, Operand } from '@mparticle/audience-typescript-schema';
// Create audience queries with type safety
const query: Query = {
// Your query definition here
};
operand/: Contains basic data types and operationsexpression/: Defines logical expressions and operatorsquery/: Implements audience query structurescommon/: Shared types and utilitiesdist/: Compiled JavaScript outputTo build the project:
yarn build
# or
npm run build
Whenever you make changes to the schema definitions, you must regenerate the schema output by running:
npm run gen-schema
This ensures that all generated files are up to date with your changes.
If you add, remove, or rename types or titles in the schema, you will need to update the relevant JSONPath mappings in scripts/add_titles_to_schema.sh to reflect these changes. This script relies on hardcoded paths to insert titles into the schema, so keeping these paths accurate is necessary for correct schema generation.
Apache License 2.0
FAQs
TypeScript schema definitions for mParticle Audiences
We found that @mparticle/audience-typescript-schema demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 10 open source maintainers 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
Reachability analysis for Ruby is now in beta, helping teams identify which vulnerabilities are truly exploitable in their applications.

Research
/Security News
Malicious npm packages use Adspect cloaking and fake CAPTCHAs to fingerprint visitors and redirect victims to crypto-themed scam sites.

Security News
Recent coverage mislabels the latest TEA protocol spam as a worm. Here’s what’s actually happening.