{"id":23529685,"url":"https://github.com/jaid/epoch-seconds","last_synced_at":"2025-05-14T12:32:41.663Z","repository":{"id":34080362,"uuid":"169331154","full_name":"Jaid/epoch-seconds","owner":"Jaid","description":"Returns the amount of seconds passed since Unix epoch (1970).","archived":false,"fork":false,"pushed_at":"2024-04-05T04:55:40.000Z","size":9389,"stargazers_count":1,"open_issues_count":11,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-21T05:07:28.613Z","etag":null,"topics":["1970","date","date-now","epoch","gmt","linux","millis","milliseconds","now","posix","posix-epoch","second","seconds","time","timestamp","unix","unix-epoch","utc"],"latest_commit_sha":null,"homepage":"https://github.com/jaid/epoch-seconds","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Jaid.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":".github/funding.yml","license":"license.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null},"funding":{"github":"Jaid","custom":"https://twitch.tv/products/jaidchen"}},"created_at":"2019-02-05T23:48:41.000Z","updated_at":"2023-09-20T05:15:30.000Z","dependencies_parsed_at":"2024-03-27T02:27:55.381Z","dependency_job_id":"f8e20493-f43b-44d6-8744-729a72a6cbac","html_url":"https://github.com/Jaid/epoch-seconds","commit_stats":{"total_commits":355,"total_committers":3,"mean_commits":"118.33333333333333","dds":"0.15492957746478875","last_synced_commit":"19f3b157513d478c48ed7c880ff67fd9b4c42daa"},"previous_names":[],"tags_count":41,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jaid%2Fepoch-seconds","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jaid%2Fepoch-seconds/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jaid%2Fepoch-seconds/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jaid%2Fepoch-seconds/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Jaid","download_url":"https://codeload.github.com/Jaid/epoch-seconds/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254142590,"owners_count":22021564,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["1970","date","date-now","epoch","gmt","linux","millis","milliseconds","now","posix","posix-epoch","second","seconds","time","timestamp","unix","unix-epoch","utc"],"created_at":"2024-12-25T21:12:43.005Z","updated_at":"2025-05-14T12:32:41.640Z","avatar_url":"https://github.com/Jaid.png","language":"TypeScript","readme":"# epoch-seconds\n\n\n\u003ca href=\"https://raw.githubusercontent.com/jaid/epoch-seconds/master/license.txt\"\u003e\u003cimg src=\"https://img.shields.io/github/license/jaid/epoch-seconds?style=flat-square\" alt=\"License\"/\u003e\u003c/a\u003e \u003ca href=\"https://github.com/sponsors/jaid\"\u003e\u003cimg src=\"https://img.shields.io/badge/\u003c3-Sponsor-FF45F1?style=flat-square\" alt=\"Sponsor epoch-seconds\"/\u003e\u003c/a\u003e  \n\u003ca href=\"https://actions-badge.atrox.dev/jaid/epoch-seconds/goto\"\u003e\u003cimg src=\"https://img.shields.io/endpoint.svg?style=flat-square\u0026url=https%3A%2F%2Factions-badge.atrox.dev%2Fjaid%2Fepoch-seconds%2Fbadge\" alt=\"Build status\"/\u003e\u003c/a\u003e \u003ca href=\"https://github.com/jaid/epoch-seconds/commits\"\u003e\u003cimg src=\"https://img.shields.io/github/commits-since/jaid/epoch-seconds/v3.0.2?style=flat-square\u0026logo=github\" alt=\"Commits since v3.0.2\"/\u003e\u003c/a\u003e \u003ca href=\"https://github.com/jaid/epoch-seconds/commits\"\u003e\u003cimg src=\"https://img.shields.io/github/last-commit/jaid/epoch-seconds?style=flat-square\u0026logo=github\" alt=\"Last commit\"/\u003e\u003c/a\u003e \u003ca href=\"https://github.com/jaid/epoch-seconds/issues\"\u003e\u003cimg src=\"https://img.shields.io/github/issues/jaid/epoch-seconds?style=flat-square\u0026logo=github\" alt=\"Issues\"/\u003e\u003c/a\u003e  \n\u003ca href=\"https://npmjs.com/package/epoch-seconds\"\u003e\u003cimg src=\"https://img.shields.io/npm/v/epoch-seconds?style=flat-square\u0026logo=npm\u0026label=latest%20version\" alt=\"Latest version on npm\"/\u003e\u003c/a\u003e \u003ca href=\"https://github.com/jaid/epoch-seconds/network/dependents\"\u003e\u003cimg src=\"https://img.shields.io/librariesio/dependents/npm/epoch-seconds?style=flat-square\u0026logo=npm\" alt=\"Dependents\"/\u003e\u003c/a\u003e \u003ca href=\"https://npmjs.com/package/epoch-seconds\"\u003e\u003cimg src=\"https://img.shields.io/npm/dm/epoch-seconds?style=flat-square\u0026logo=npm\" alt=\"Downloads\"/\u003e\u003c/a\u003e\n\n**Returns the amount of seconds passed since Unix epoch (1970).**\n\n\n\n\n\n## Installation\n\n\u003ca href=\"https://npmjs.com/package/epoch-seconds\"\u003e\u003cimg src=\"https://img.shields.io/badge/npm-epoch--seconds-C23039?style=flat-square\u0026logo=npm\" alt=\"epoch-seconds on npm\"/\u003e\u003c/a\u003e\n\n```bash\nnpm install --save epoch-seconds@^3.0.2\n```\n\n\u003ca href=\"https://yarnpkg.com/package/epoch-seconds\"\u003e\u003cimg src=\"https://img.shields.io/badge/Yarn-epoch--seconds-2F8CB7?style=flat-square\u0026logo=yarn\u0026logoColor=white\" alt=\"epoch-seconds on Yarn\"/\u003e\u003c/a\u003e\n\n```bash\nyarn add epoch-seconds@^3.0.2\n```\n\n\n\n## Example\n\n\n```javascript\nimport epochSeconds from \"epoch-seconds\"\n\nconst result = epochSeconds()\n```\n\nVariable `result` will be something like:\n\n```javascript\n1549410770\n```\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n## Development\n\n\u003cdetails\u003e\n\u003csummary\u003e\u003cb\u003eDevelopment hints for maintaining and improving epoch-seconds\u003c/b\u003e\u003c/summary\u003e\n\n\n\nSetting up:\n```bash\ngit clone git@github.com:jaid/epoch-seconds.git\ncd epoch-seconds\nnpm install\n```\nTesting:\n```bash\nnpm run test:dev\n```\nTesting in production environment:\n```bash\nnpm run test\n```\n\n\u003c/details\u003e\n\n## License\n[MIT License](https://raw.githubusercontent.com/jaid/epoch-seconds/master/license.txt)  \nCopyright © 2021, Jaid \\\u003cjaid.jsx@gmail.com\u003e (https://github.com/jaid)\n\n\u003c!---\nReadme generated with tldw v7.1.0\nhttps://github.com/Jaid/tldw\n--\u003e","funding_links":["https://github.com/sponsors/Jaid","https://twitch.tv/products/jaidchen","https://github.com/sponsors/jaid"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjaid%2Fepoch-seconds","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjaid%2Fepoch-seconds","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjaid%2Fepoch-seconds/lists"}