https://github.com/bencevans/find-by-min-fitness

Find an item in an array by evaluating the minimum fitness of each item

https://github.com/bencevans/find-by-min-fitness

Science Score: 13.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (1.5%) to scientific vocabulary
Last synced: 10 months ago · JSON representation

Repository

Find an item in an array by evaluating the minimum fitness of each item

Basic Info
  • Host: GitHub
  • Owner: bencevans
  • Language: JavaScript
  • Default Branch: master
  • Size: 1000 Bytes
Statistics
  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Created almost 10 years ago · Last pushed almost 10 years ago
Metadata Files
Readme

README.md

find-by-min-fitness

Find an item in an array by evaluating the minimum fitness of each item

Install

$ npm install find-by-min-fitness

Usage

```js const findByMinFitness = require('find-by-min-fitness') const locations = [ { name: 'Beach', distance: 30 }, { name: 'City', distance: 90 }, { name: 'University', distance: 80 } ]

// Find the nearest destination to 40 miles findByMinFitness(locations, (location) => { return 40 - location.distance }) // => { name: 'Beach', distance: 30 } `` Check/test.js` for more...

License

MIT © Ben Evans

Owner

  • Name: Ben Evans
  • Login: bencevans
  • Kind: user
  • Location: London, UK
  • Company: Institute of Zoology, ZSL

GitHub Events

Total
Last Year

Issues and Pull Requests

Last synced: over 1 year ago

All Time
  • Total issues: 0
  • Total pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Total issue authors: 0
  • Total pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels