{"id":20401811,"url":"https://github.com/bpevs/johnny_decimal","last_synced_at":"2025-07-14T04:37:09.000Z","repository":{"id":42698578,"uuid":"464332140","full_name":"bpevs/johnny_decimal","owner":"bpevs","description":"Utilities for interacting with a Johnny Decimal filing system.","archived":false,"fork":false,"pushed_at":"2024-02-18T17:38:02.000Z","size":1614,"stargazers_count":13,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-06-20T11:19:55.214Z","etag":null,"topics":["cli","deno","johnny-decimal","typescript"],"latest_commit_sha":null,"homepage":"https://johnny.bpev.me","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bpevs.png","metadata":{"files":{"readme":"README.md","changelog":null,"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,"publiccode":null,"codemeta":null}},"created_at":"2022-02-28T04:02:26.000Z","updated_at":"2025-02-21T23:15:14.000Z","dependencies_parsed_at":"2024-11-15T04:51:55.167Z","dependency_job_id":"a05238b1-fb09-4045-9414-d239cc5e459e","html_url":"https://github.com/bpevs/johnny_decimal","commit_stats":{"total_commits":52,"total_committers":3,"mean_commits":"17.333333333333332","dds":0.05769230769230771,"last_synced_commit":"46d011ea5ddd27055b0682c5d471e304e0b559b9"},"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"purl":"pkg:github/bpevs/johnny_decimal","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bpevs%2Fjohnny_decimal","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bpevs%2Fjohnny_decimal/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bpevs%2Fjohnny_decimal/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bpevs%2Fjohnny_decimal/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bpevs","download_url":"https://codeload.github.com/bpevs/johnny_decimal/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bpevs%2Fjohnny_decimal/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265241122,"owners_count":23733185,"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":["cli","deno","johnny-decimal","typescript"],"created_at":"2024-11-15T04:51:51.914Z","updated_at":"2025-07-14T04:37:08.960Z","avatar_url":"https://github.com/bpevs.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Johnny Decimal\n\nImportable utilities built with Typescript, for interacting with a\n[Johnny Decimal](https://johnnydecimal.com/) filing system.\n\nThis document is geared for using our modules for your own Johnny Decimal\njavascript applications. **For CLI usage and Plugin Development information, use\nour [CLI guide](https://johnny.bpev.me)**\n\n## API Documentation\n\nMostly, the code comments should be sufficient; these are used to generate our\n[Deno Docs](https://doc.deno.land/https/deno.land/x/johnny_decimal/mod.ts)\n\n## Getting Started\n\nYou can import the utilities used in the CLI from deno.land:\n\n```js\nimport {\n  // Directory and Location are Deno-specific imports are good for fs usecases\n  Directory,\n  DirectoryCore,\n  // Commands exported from johnny_decimal are all Deno-specific.\n  // These are the apis used for the Johnny Decimal CLI\n  helpCommand,\n  Location,\n  // LocationCore and DirectoryCore are much more bare, but are pure javascript.\n  // Better when aiming to compile for web\n  LocationCore,\n} from \"https://deno.land/x/johnny_decimal/mod.ts\";\n\nconst directory = new Directory({\n  $HOME: $HOME,\n  $JD_HOME: $JD_HOME,\n  $JD_DIR: $JD_DIR,\n});\n\n// DirectoryCore still includes command-management functionality.\ndirectory.registerCommand(defaultCommand);\n\n// LocationCore still includes lots of utility functions\nconsole.log(LocationCore.isAreaId(\"21.04\")); // false\n\ndirectory.runCommand(\"default\", []);\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbpevs%2Fjohnny_decimal","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbpevs%2Fjohnny_decimal","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbpevs%2Fjohnny_decimal/lists"}