Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Rename to 'lockfile'

  • Loading branch information...
commit 449d5a1d4970976224d256008f7e1ac97722705a 1 parent 589f706
@isaacs isaacs authored
View
4 README.md
@@ -1,4 +1,4 @@
-# lock-file
+# lockfile
A very polite lock file utility, which endeavors to not litter, and to
wait patiently for others.
@@ -6,7 +6,7 @@ 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) {
View
0  lock-file.js → lockfile.js
File renamed without changes
View
6 package.json
@@ -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
2  test/basic.js
@@ -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')
View
2  test/fixtures/bad-child.js
@@ -1,4 +1,4 @@
-var lockFile = require('../../lock-file.js')
+var lockFile = require('../../lockfile.js')
lockFile.lockSync('never-forget')
View
2  test/fixtures/child.js
@@ -1,3 +1,3 @@
-var lockFile = require('../../lock-file.js')
+var lockFile = require('../../lockfile.js')
lockFile.lock('never-forget', function () {})
Please sign in to comment.
Something went wrong with that request. Please try again.