{"id":21082211,"url":"https://github.com/olsonpm/fs-bluebird","last_synced_at":"2025-03-14T04:43:08.063Z","repository":{"id":26343895,"uuid":"29792729","full_name":"olsonpm/fs-bluebird","owner":"olsonpm","description":null,"archived":false,"fork":false,"pushed_at":"2015-06-14T18:40:52.000Z","size":656,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-20T23:45:26.703Z","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":"buzzfeed/solid","license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/olsonpm.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-01-24T21:44:51.000Z","updated_at":"2015-03-16T00:33:33.000Z","dependencies_parsed_at":"2022-07-08T01:10:42.416Z","dependency_job_id":null,"html_url":"https://github.com/olsonpm/fs-bluebird","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/olsonpm%2Ffs-bluebird","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/olsonpm%2Ffs-bluebird/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/olsonpm%2Ffs-bluebird/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/olsonpm%2Ffs-bluebird/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/olsonpm","download_url":"https://codeload.github.com/olsonpm/fs-bluebird/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243526853,"owners_count":20305112,"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-11-19T20:13:08.840Z","updated_at":"2025-03-14T04:43:08.037Z","avatar_url":"https://github.com/olsonpm.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# fs-bluebird\n\nThe intention of this library is to retain the same *Async prefix syntax while also covering the edge case of fs.exists (which doesn't follow the [error, result] callback parameter pattern).\n\nIf there are more edge cases to take care of I will be happy to add them to this library.  Better yet, you could send me a pull request with the fix and associated mocha test and I'll merge.\n\n###fs.existsAsync example:\n\n```\nvar bFs = require('fs-bluebird');\n\nvar fileThatExists = './index.js';\n\nbFs.existsAsync(fileThatExists)\n  .then(function(exists) {\n    if (exists) {\n      // do something with file\n    }\n  });\n```\n\nFeel free to contact me with questions\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Folsonpm%2Ffs-bluebird","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Folsonpm%2Ffs-bluebird","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Folsonpm%2Ffs-bluebird/lists"}