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

skipped-periodic-values

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

skipped-periodic-values

Given a point and a distance, determine how many periodic values were skipped.

  • 0.0.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
36K
decreased by-9.01%
Maintainers
1
Weekly downloads
 
Created
Source

skipped-periodic-values.js

Travis build status Code Climate Test Coverage Dependency Status devDependency Status

Given a distance that ignores a periodic value, determine how many periodic values were skipped.

What might I use this library for?

This library was built to solve the following problem: given a day, and a number of workdays, determine the total number of days.

Terminology

The members of a periodic function's output are the "values." A single member is a "value."

The distance that the function repeats itself along is the "period."

API

skippedPeriodicValues(start, distance, value, period)

Find the number of values skipped across "distance."

Keywords

FAQs

Package last updated on 29 Jan 2015

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

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