{"name":"first-commit-date","description":"Returns a JavaScript date object with the date and time of a git repository's first commit.","version":"0.2.0","homepage":"https://github.com/jonschlinkert/first-commit-date","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/first-commit-date.git"},"bugs":{"url":"https://github.com/jonschlinkert/first-commit-date/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"get-first-commit":"^0.2.0"},"devDependencies":{"mocha":"*"},"keywords":["commit","date","first","first-commit","git"],"verb":{"related":{"list":["github-base","git-repo-name","git-user-name","git-username"]}},"gitHead":"79dd69db96e49fafec779e3a3e746c530b90aca5","_id":"first-commit-date@0.2.0","_shasum":"2ee97057ed52103862a58acf4b1d244d7705e261","_from":".","_npmVersion":"3.3.6","_nodeVersion":"5.0.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"2ee97057ed52103862a58acf4b1d244d7705e261","tarball":"http://registry-npm.ywwl.com/first-commit-date/download/first-commit-date-0.2.0.tgz","integrity":"sha512-bxuPQNJbQM5CLf63gQ/Y1JBqnufzMItOtcbqwm95gH1zy5LrKu6zCxP7/nqzFFXLhqRNSul2S+aREz+pvJ6exw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCw8E6aJXefg+nvgh1EVF/PP1i++53b/CqUgYrSkjBZSwIgMXrLGWzlEVw/0pV6+yInmxsLvW5Sqz0stBr9MSkIt8M="}],"size":2439,"noattachment":false,"key":"/first-commit-date/-/first-commit-date-0.2.0.tgz"},"directories":{},"readme":"# first-commit-date [![NPM version](https://badge.fury.io/js/first-commit-date.svg)](http://badge.fury.io/js/first-commit-date)  [![Build Status](https://travis-ci.org/jonschlinkert/first-commit-date.svg)](https://travis-ci.org/jonschlinkert/first-commit-date)\n\n> Returns a JavaScript date object with the date and time of a git repository's first commit.\n\n## Install\n\nInstall with [npm](https://www.npmjs.com/)\n\n```sh\n$ npm i first-commit-date --save\n```\n\n## Usage\n\n```js\nvar firstCommitDate = require('first-commit-date');\n\nfirstCommitDate(function(err, date) {\n  if (err) return console.log(err);\n  console.log('first commit!', date);\n});\n//=> first commit! Tue Nov 17 2015 13:29:18 GMT-0500 (EST)\n```\n\n## API\n\n**Params**\n\n* `cwd` **{String}**: current working directory\n* `callback` **{Function}**\n* `returns` **{Object}**\n\n**Example**\n\n```js\nfirstCommitDate('foo/.git', function(err, date) {\n  if (err) return console.log(err);\n  // do stuff with commit date\n});\n```\n\n### [.sync](index.js#L55)\n\nSynchronously get the first commit date from a git repository.\n\n**Params**\n\n* `cwd` **{String}**: current working directory\n* `returns` **{Object}**\n\n**Example**\n\n```js\nvar date = firstCommitDate.sync('foo/.git');\n```\n\n## Related projects\n\n* [git-repo-name](https://www.npmjs.com/package/git-repo-name): Get the repository name from the git remote origin URL. | [homepage](https://github.com/jonschlinkert/git-repo-name)\n* [git-user-name](https://www.npmjs.com/package/git-user-name): Get a user's name from git config at the project or global scope, depending on… [more](https://www.npmjs.com/package/git-user-name) | [homepage](https://github.com/jonschlinkert/git-user-name)\n* [git-username](https://www.npmjs.com/package/git-username): Get the username from a git remote origin URL. | [homepage](https://github.com/jonschlinkert/git-username)\n* [github-base](https://www.npmjs.com/package/github-base): Base methods for creating node.js apps that work with the GitHub API. | [homepage](https://github.com/jonschlinkert/github-base)\n\n## Running tests\n\nInstall dev dependencies:\n\n```sh\n$ npm i -d && npm test\n```\n\n## Contributing\n\nPull requests and stars are always welcome. For bugs and feature requests, [please create an issue](https://github.com/jonschlinkert/first-commit-date/issues/new).\n\n## Author\n\n**Jon Schlinkert**\n\n+ [github/jonschlinkert](https://github.com/jonschlinkert)\n+ [twitter/jonschlinkert](http://twitter.com/jonschlinkert)\n\n## License\n\nCopyright © 2015 Jon Schlinkert\nReleased under the MIT license.\n\n***\n\n_This file was generated by [verb-cli](https://github.com/assemble/verb-cli) on November 22, 2015._","publish_time":1448197629951,"_cnpm_publish_time":1448197629951,"dist-tags":{"latest":"0.2.0"}}