{"id":19303270,"url":"https://github.com/xkeshav/day","last_synced_at":"2026-05-20T14:39:52.825Z","repository":{"id":225145089,"uuid":"765185739","full_name":"xkeshav/day","owner":"xkeshav","description":"trial with Javascript registry package ","archived":false,"fork":false,"pushed_at":"2024-10-16T10:53:14.000Z","size":174,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-06-30T21:58:28.556Z","etag":null,"topics":["deno","deno-package","jsr","typescript"],"latest_commit_sha":null,"homepage":"https://jsr.io/@xkeshav/day","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/xkeshav.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2024-02-29T12:50:40.000Z","updated_at":"2024-09-26T03:17:56.000Z","dependencies_parsed_at":"2024-02-29T14:27:39.443Z","dependency_job_id":"88c6e95c-2d4d-4913-a113-7a4a6004a446","html_url":"https://github.com/xkeshav/day","commit_stats":null,"previous_names":["xkeshav/day"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/xkeshav/day","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xkeshav%2Fday","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xkeshav%2Fday/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xkeshav%2Fday/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xkeshav%2Fday/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xkeshav","download_url":"https://codeload.github.com/xkeshav/day/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xkeshav%2Fday/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263699781,"owners_count":23497963,"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":["deno","deno-package","jsr","typescript"],"created_at":"2024-11-09T23:25:47.185Z","updated_at":"2026-05-20T14:39:52.767Z","avatar_url":"https://github.com/xkeshav.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# @xkeshav/day - A JSR package\n\nThis is a minimal sample package for new package ecosystem JavaScript Registry (JSR) by Deno,\nit works both in javascript and typescript.\n\n## What this package does\n\nthis package have one property `oneDay` which return total number of milliseconds in a day i.e. 86400000\n\n## How to run the in local\n\n- Install Deno runtime in your system; check [deno official page](https://docs.deno.com/runtime/fundamentals/installation/)\n- check Deno version using `Deno --version` ;\n  below is the output from my system\n\n```log\n\ndeno 1.41.1 (release, aarch64-apple-darwin)\nv8 12.1.285.27\ntypescript 5.3.3\n\n```\n\n- Initialize deno project\n\n```sh\ndeno init \u003cproject-name\u003e\n```\n\nit will create 3 files\n\n    - deno.json\n    - main.ts\n    - main_test.ts\n\n- Run deno task\n\n```sh\ndeno task server\n```\n\ntask name mentioned in _deno.json \u003e tasks_ property\n\nopen _localhost:8000_ and check\n\n## How to install\n\n\u003e npx jsr i @xkeshav/day\n\nabove command will add entry in your **package.json** file as below\n\n```json\n \"dependencies\": {\n    \"@xkeshav/day\": \"npm:@jsr/xkeshav__day@^1.1.1\"\n  }\n```\n\n## How to use\n\n```js\nimport { oneDay } from '@xkeshav/day';\n\n// named export\nconsole.log({ oneDay });\n```\n\n## Screenshot of package\n\n![package detail](assets/images/package.png)\n\n## References\n\n- [@xkeshav/day](https://jsr.io/@xkeshav/day)\n- [jsr.io](https://jsr.io/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxkeshav%2Fday","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxkeshav%2Fday","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxkeshav%2Fday/lists"}