Permalink
Browse files

Rename to 'lockfile'

  • Loading branch information...
isaacs committed Jun 27, 2012
1 parent 589f706 commit 449d5a1d4970976224d256008f7e1ac97722705a
Showing with 8 additions and 8 deletions.
  1. +2 −2 README.md
  2. 0 lock-file.js → lockfile.js
  3. +3 −3 package.json
  4. +1 −1 test/basic.js
  5. +1 −1 test/fixtures/bad-child.js
  6. +1 −1 test/fixtures/child.js
View
@@ -1,12 +1,12 @@
-# lock-file
+# lockfile
A very polite lock file utility, which endeavors to not litter, and to
wait patiently for others.
## Usage
```javascript
-var lockFile = require('lock-file')
+var lockFile = require('lockfile')
// opts is optional, and defaults to {}
lockFile.lock('some-file.lock', opts, function (er, fd) {
File renamed without changes.
View
@@ -1,7 +1,7 @@
{
- "name": "lock-file",
+ "name": "lockfile",
"version": "0.0.2",
- "main": "lock-file.js",
+ "main": "lockfile.js",
"directories": {
"test": "test"
},
@@ -14,7 +14,7 @@
},
"repository": {
"type": "git",
- "url": "git://github.com/isaacs/lock-file"
+ "url": "git://github.com/isaacs/lockfile"
},
"keywords": [
"lockfile",
View
@@ -1,5 +1,5 @@
var test = require('tap').test
-var lockFile = require('../lock-file.js')
+var lockFile = require('../lockfile.js')
var path = require('path')
var fs = require('fs')
@@ -1,4 +1,4 @@
-var lockFile = require('../../lock-file.js')
+var lockFile = require('../../lockfile.js')
lockFile.lockSync('never-forget')
View
@@ -1,3 +1,3 @@
-var lockFile = require('../../lock-file.js')
+var lockFile = require('../../lockfile.js')
lockFile.lock('never-forget', function () {})

0 comments on commit 449d5a1

Please sign in to comment.