Sign in

sindresorhus /onetime

Ensure a function is only called once

Stars
166 stars
Forks
15 forks
Language
JavaScript
License
MIT
Created
Dec 1, 2013
Last push
Sep 18, 2026
Updated
Sep 18, 2026

In the Repository Index from the Seed Dataset since Oct 22, 2026.

Star History

193 days recorded, Apr 25, 2026 – Nov 3, 2026 (UTC). Net change +2 stars.

Stars at the end of each day166 now
Apr 25, 2026Nov 3, 2026
Net stars each dayhighest +1
+1 on May 15, 2026
Apr 25, 2026Nov 3, 2026

The star count of each day is the latest count less the net stars of the later days.

Add this Star History to a README

The images follow the light or dark theme of the page that shows them, and update every hour. Add ?theme=light or ?theme=darkto the chart address to keep one theme.

Star History chart

[![Star History of sindresorhus/onetime](https://awesomerepos.com/sindresorhus/onetime/stars.svg)](https://awesomerepos.com/sindresorhus/onetime)

Badge

[![AwesomeRepos](https://awesomerepos.com/sindresorhus/onetime/badge.svg)](https://awesomerepos.com/sindresorhus/onetime)

Timeline

This repository got 1 star on May 15, 2026, its largest day since Apr 25, 2026.

It gained stars on 2 of the 193 days with a record.

Its largest 7 days were May 9, 2026 to May 15, 2026: 1 star.

It had 164 stars before Apr 25, 2026 and has 166 stars now: 334 fewer than 500.

Its latest release is v8.0.0, published on Feb 2, 2026.

  1. Created on the Repository Host
  2. Release v5.1.1
  3. Release v5.1.2
  4. Release v6.0.0
  5. Release v7.0.0
  6. Release v8.0.0
  7. Largest star day recorded: +1 stars
  8. +1 stars in one day
  9. Latest push
  10. Entered the Repository Index from the Seed Dataset

From the Repository Host's creation date and releases, the Admission, the Star History, and the Observations. Star milestones show only when the Star History records the day. On the chart of net stars each day, a solid line marks a release.

Forks and pushes

From 13 Observations, Oct 22, 2026 – Nov 3, 2026. Forks 0. A new push was seen on 0 of 12 days.

Forks15
  1. Oct 23, 2026: no new push
  2. Oct 24, 2026: no new push
  3. Oct 25, 2026: no new push
  4. Oct 26, 2026: no new push
  5. Oct 27, 2026: no new push
  6. Oct 28, 2026: no new push
  7. Oct 29, 2026: no new push
  8. Oct 30, 2026: no new push
  9. Oct 31, 2026: no new push
  10. Nov 1, 2026: no new push
  11. Nov 2, 2026: no new push
  12. Nov 3, 2026: no new push

A filled day: the last push time changed since the Observation before it.

Observations

What the Repository Host reported each day.

Day (UTC)StarsForksLast pushArchived
Nov 3, 202616615Sep 18, 2026No
Nov 2, 202616615Sep 18, 2026No
Nov 1, 202616615Sep 18, 2026No
Oct 31, 202616615Sep 18, 2026No
Oct 30, 202616615Sep 18, 2026No
Oct 29, 202616615Sep 18, 2026No
Oct 28, 202616615Sep 18, 2026No
Oct 27, 202616615Sep 18, 2026No
Oct 26, 202616615Sep 18, 2026No
Oct 25, 202616615Sep 18, 2026No
Oct 24, 202616615Sep 18, 2026No
Oct 23, 202616615Sep 18, 2026No
Oct 22, 202616615Sep 18, 2026No
Report a problem with this page

Do not include personal data. AwesomeRepos keeps the message, the page, and the time.