{"id":13801421,"url":"https://github.com/dpmland/draco","last_synced_at":"2026-05-11T13:06:04.074Z","repository":{"id":62422471,"uuid":"449021358","full_name":"dpmland/draco","owner":"dpmland","description":"File and folder multiplatform utils for Deno!","archived":false,"fork":false,"pushed_at":"2022-01-19T01:12:43.000Z","size":27,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-12T02:26:14.123Z","etag":null,"topics":["deno","deno-module","filesystem","library","typescript","utils-library"],"latest_commit_sha":null,"homepage":"https://deno.land/x/draco","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dpmland.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-01-17T19:23:09.000Z","updated_at":"2023-07-28T17:55:35.000Z","dependencies_parsed_at":"2022-11-01T17:31:30.158Z","dependency_job_id":null,"html_url":"https://github.com/dpmland/draco","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/dpmland/draco","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dpmland%2Fdraco","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dpmland%2Fdraco/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dpmland%2Fdraco/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dpmland%2Fdraco/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dpmland","download_url":"https://codeload.github.com/dpmland/draco/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dpmland%2Fdraco/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32895984,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-10T13:40:02.631Z","status":"online","status_checked_at":"2026-05-11T02:00:05.975Z","response_time":120,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-module","filesystem","library","typescript","utils-library"],"created_at":"2024-08-04T00:01:22.664Z","updated_at":"2026-05-11T13:06:04.054Z","avatar_url":"https://github.com/dpmland.png","language":"TypeScript","funding_links":[],"categories":["Modules"],"sub_categories":["Utils"],"readme":"\u003cimg src=\"https://avatars.githubusercontent.com/u/97813425\" align=\"right\" alt=\"Dpm Logo\" width=\"100\"\u003e\n\n## Dpm - Draco :sauropod:\n\n[![Discord](https://img.shields.io/discord/932381618851692565?label=Discord\u0026logo=discord\u0026logoColor=white)](https://discord.gg/Um27YPJKud)\n[![Twitter](https://img.shields.io/twitter/follow/dpm_land?label=Dpm%20Land\u0026style=social)](https://twitter.com/intent/follow?screen_name=dpm_land)\n[![GitHub license](https://img.shields.io/github/license/dpmland/draco?label=License)](./LICENSE)\n![Github Workflow](https://img.shields.io/github/workflow/status/dpmland/draco/CI)\n\nIs a collection of utils for the system, directories, deno and files\ninformations :p\n\n## Usage\n\n\u003e Draco Info -\u003e Show the os and deno information\n\n```ts\nimport { dracoInfo } from 'https://deno.land/x/draco@0.1.3/mod.ts';\n\n// Prints the os in was running\nconsole.log(dracoInfo.platform());\n// Show the architecture was running\nconsole.log(dracoInfo.arch());\n// Show the hostname\nconsole.log(dracoInfo.hostname());\n// Show the total memory on the machine\nconsole.log(dracoInfo.memoryTotal());\n// Show the memory free on the machine\nconsole.log(dracoInfo.memoryFree());\n// Show the memory avaliable\nconsole.log(dracoInfo.memoryAvaliable());\n\n// Shows the deno version running now\nconsole.log(dracoInfo.DenoVersion);\n// Shows the deno typescript version\nconsole.log(dracoInfo.DenoTypescript);\n// Shows the deno v8 version\nconsole.log(dracoInfo.DenoV8);\n```\n\n\u003e Draco Files -\u003e Show the file utils and directory utils.\n\n```ts\nimport { dracoFiles } from 'https://deno.land/x/draco@0.1.3/mod.ts';\n\n// Show the current directory\nconsole.log(dracoFiles.currentDir());\n// Show the cache dir for a application\nconsole.log(dracoFiles.cacheDir('app_example'));\n// Show the config dir for a application\nconsole.log(dracoFiles.configDir('app_example'));\n// Show the temp directory on the current os\nconsole.log(dracoFiles.tempDir());\n// Show the home directory\nconsole.log(dracoFiles.homeDir());\n\n// Check if file or folder exists and return true if exists and false if not\nconsole.log(dracoFiles.exists('./examples/dracoInfo.ts'));\n// Write a json file from a object\nconsole.log(\n  dracoFiles.writeJson('./examples/json_example.json', { data: 'hello' }),\n);\n```\n\n---\n\nMade with :heart: in :earth_americas:\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdpmland%2Fdraco","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdpmland%2Fdraco","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdpmland%2Fdraco/lists"}