{"id":15646431,"url":"https://github.com/martinheidegger/fs-date-parser","last_synced_at":"2025-03-29T23:17:07.631Z","repository":{"id":33865922,"uuid":"37573964","full_name":"martinheidegger/fs-date-parser","owner":"martinheidegger","description":"Simple node library to parse the date from a file-system path. (used for static site generators)","archived":false,"fork":false,"pushed_at":"2016-03-11T15:26:39.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-05T01:46:14.969Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"decrypto-org/blockchain-papers","license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/martinheidegger.png","metadata":{"files":{"readme":"Readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-06-17T05:13:45.000Z","updated_at":"2016-03-11T14:29:13.000Z","dependencies_parsed_at":"2022-07-13T14:32:38.245Z","dependency_job_id":null,"html_url":"https://github.com/martinheidegger/fs-date-parser","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/martinheidegger%2Ffs-date-parser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/martinheidegger%2Ffs-date-parser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/martinheidegger%2Ffs-date-parser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/martinheidegger%2Ffs-date-parser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/martinheidegger","download_url":"https://codeload.github.com/martinheidegger/fs-date-parser/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246254149,"owners_count":20747949,"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":[],"created_at":"2024-10-03T12:12:51.378Z","updated_at":"2025-03-29T23:17:07.606Z","avatar_url":"https://github.com/martinheidegger.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build Status](https://travis-ci.org/martinheidegger/fs-date-parser.svg?branch=master)](https://travis-ci.org/martinheidegger/fs-date-parser)[![Coverage Status](https://coveralls.io/repos/github/martinheidegger/fs-date-parser/badge.svg?branch=master)](https://coveralls.io/github/martinheidegger/fs-date-parser?branch=master)\n[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg)](http://standardjs.com/)\n\n# fs-date-parser\n\nFor static site blogs or pages you might want to setup the path to contain a date for sorting and publication. This little parser is fairly flexible and aimed exactly at this purpose.\n\n## Usage\n\nInstall the date parser using:\n\n`$ npm i fs-date-parser --save`\n\nThen you can use it just like\n\n```JavaScript\nvar parse = require('fs-date-parser');\n\nparse('2015/06/09-hello.md'); // {date: /*Tue Jun 09 2015 00:00:00 GMT+0900 (JST)*/, rest: 'hello.md'}\nparse('2015-06-09-hello.md'); // {date: /*Tue Jun 09 2015 00:00:00 GMT+0900 (JST)*/, rest: 'hello.md'}\n\nparse('hello.md') // {date:}\n```\n\n(writing this from a japanese time-zone)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmartinheidegger%2Ffs-date-parser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmartinheidegger%2Ffs-date-parser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmartinheidegger%2Ffs-date-parser/lists"}