Security News
GitHub Removes Malicious Pull Requests Targeting Open Source Repositories
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
@apio/timeframes
Advanced tools
Dataframe-like API for timeseries-like data
Install through NPM
npm i @apio/timeframes
There are a few examples that you can check out in the examples directory.
import { TimeSerie } from '@apio/timeframes'
// Pass an array of points
// a point is a tuple [DateLike, PointValue]
// DateLike is value that can be passed to new Date()
// PointValue is any value, but preferably a number (to compute sums averages ecc)
const ts = new TimeSerie([["2022-01-01", 12],["2022-01-02", 13]])
const sum = ts.sum()
const avg = ts.avg()
import { TimeFrame } from '@apio/timeframes'
// Each item is a row
const rows = [
{time: "2022-01-01", value1:10, value2:140},
{time: "2022-01-02", value1:41}, // here value2 is null
{time: "2022-01-03", value1:78, value2:301},
]
const ts = new TimeFrame(rows)
// column() extracts columns as timeseries
const total1 = ts.column("value1").sum()
FAQs
Library for dealing with timeseries data
The npm package @apio/timeframes receives a total of 3 weekly downloads. As such, @apio/timeframes popularity was classified as not popular.
We found that @apio/timeframes demonstrated a healthy version release cadence and project activity because the last version was released less than 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
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Security News
Node.js will be enforcing stricter semver-major PR policies a month before major releases to enhance stability and ensure reliable release candidates.