![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
org.webjars.npm:simple-statistics
Advanced tools
A JavaScript implementation of descriptive, regression, and inference statistics.
Implemented in literate JavaScript with no dependencies, designed to work in all modern browsers (including IE) as well as in node.js.
simple-statistics
module, using npm install simple-statistics
,
then include the code with require or import:require
function to use modules in my project. (most likely)
require
, you have the freedom to assign the module to any
variable name you want, but you need to specify the module's name exactly:
in this case, 'simple-statistics'. The require
method returns an object
with all of the module's methods attached to it.var ss = require('simple-statistics')
import
to use modules in my project. I'm probably using Babel, @std/esm
, Webpack, or Rollup.
import * as ss from 'simple-statistics'Include a specific named export:
import {min} from 'simple-statistics'Simple statistics has only named exports for ES6.
ss
. You can reassign this variable to
another name if you want to, but doing so is optional.
<script src='https://unpkg.com/simple-statistics@7.3.0/dist/simple-statistics.min.js'>
</script>
?module
query parameter of unpkg. If you
specify type='module'
in your script tag, you'll be able to import simple-statistics
directly - through index.js
and with true ES6 import syntax and behavior.
<script type='module'>
import {min} from "https://unpkg.com/simple-statistics@7.3.0/index.js?module"
console.log(min([1, 2, 3]))
</script>
This feature is still experimental in unpkg and very bleeding-edge.FAQs
WebJar for simple-statistics
We found that org.webjars.npm:simple-statistics demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 0 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.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.