{"id":15357269,"url":"https://github.com/gera2ld/ensure-dir","last_synced_at":"2025-04-15T06:43:16.897Z","repository":{"id":57225622,"uuid":"50970831","full_name":"gera2ld/ensure-dir","owner":"gera2ld","description":"Ensure a directory exists, if not, make it.","archived":false,"fork":false,"pushed_at":"2016-02-03T03:43:29.000Z","size":1,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-28T17:11:40.559Z","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":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gera2ld.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":"2016-02-03T03:22:35.000Z","updated_at":"2025-03-04T12:41:35.000Z","dependencies_parsed_at":"2022-08-24T11:00:29.236Z","dependency_job_id":null,"html_url":"https://github.com/gera2ld/ensure-dir","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gera2ld%2Fensure-dir","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gera2ld%2Fensure-dir/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gera2ld%2Fensure-dir/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gera2ld%2Fensure-dir/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gera2ld","download_url":"https://codeload.github.com/gera2ld/ensure-dir/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248537003,"owners_count":21120687,"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-01T12:34:20.170Z","updated_at":"2025-04-15T06:43:16.877Z","avatar_url":"https://github.com/gera2ld.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"ensure-dir\n===\n\n![NPM](https://img.shields.io/npm/v/ensure-dir.svg)\n![License](https://img.shields.io/npm/l/ensure-dir.svg)\n![Downloads](https://img.shields.io/npm/dt/ensure-dir.svg)\n\nInstallation\n---\n``` sh\n$ npm install ensure-dir\n```\n\nUsage\n---\n``` javascript\nconst ensureDir = require('ensure-dir')\n\nensureDir('a/b/c').then(() =\u003e {\n  // doStuff\n})\n\nensureDir(['a/b/c', 'a/b/d', 'e/f/g']).then(() =\u003e {\n  // doStuff\n})\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgera2ld%2Fensure-dir","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgera2ld%2Fensure-dir","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgera2ld%2Fensure-dir/lists"}