Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@bunchmark/presentation

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bunchmark/presentation - npm Package Compare versions

Comparing version 1.0.0-pre-5 to 1.0.0-pre-6

2

package.json
{
"name": "@bunchmark/presentation",
"version": "1.0.0-pre-5",
"version": "1.0.0-pre-6",
"description": "The Bunchmark data presentation utilities",

@@ -5,0 +5,0 @@ "type": "module",

export { prensentStats, scientific } from "./src/text.js"
export { getRanks } from "./src/race.js"
export { getBins } from "./src/bins.js"
export { getBins, getBounds, QNDMedian } from "./src/bins.js"

@@ -1,3 +0,10 @@

export {getBins}
export {getBins, getBounds, QNDMedian}
const QNDMedian = ary => {
ary.sort((a,b)=>{a-b})
if (ary.length % 2) return ary[(ary.length - 1)/2]
else return (ary[(ary.length)/2-1] + ary[(ary.length)/2])/2
}
function getBounds(entries) {

@@ -4,0 +11,0 @@ const min = Math.min(...entries.map(e => Math.min(...e.workspace)))

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc