Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

@entur/reduce-customers-for-offer-configuration

Package Overview
Dependencies
Maintainers
13
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@entur/reduce-customers-for-offer-configuration

Returns a subset of the supplied customer array, containing only the elements necessary to purchase the given offer as described by the supplied offerConfiguration

latest
Source
npmnpm
Version
3.0.0
Version published
Weekly downloads
771
109.51%
Maintainers
13
Weekly downloads
 
Created
Source

@entur/reduce-customers-for-offer-configuration

Create an array of offer configurations exactly as prescribed by the possibleTravellerIds field in an OfferToBuy

Installation

Install with npm

npm install @entur/reduce-customers-for-offer-configuration

Install with yarn

yarn add @entur/reduce-customers-for-offer-configuration

Usage/Examples

See the jsdoc-comments and tests

Running Tests

npm run test

Contributing

Contributions are always welcome!

Fork the repository from and open a PR.

Authors

  • @vages

FAQs

Package last updated on 15 May 2023

Did you know?

Socket

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.

Install

Related posts