force-symlink
Like fs.symlink, but friendlier.
Last updated 9 years ago by alexandergugel .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ gnpm install force-symlink 
SYNC missed versions from official npm registry.

force-symlink

Travis npm js-standard-style

Like fs.symlink, but friendlier. Handles ENOENT and EEXIST errors.

Usage

Install the package via npm (or ied):

npm install force-symlink

or:

ied install force-symlink

Example

Create a symlink to /etc/hosts:

import forceSymlink from 'force-symlink'

forceSymlink('/etc/hosts', 'link-to-hosts', function (err) {
  // ...
})
.
└── link-to-hosts -> /etc/hosts

License

Licensed under the MIT license. See LICENSE.

Current Tags

  • 0.0.2                                ...           latest (9 years ago)

2 Versions

  • 0.0.2                                ...           9 years ago
  • 0.0.1                                ...           9 years ago
Maintainers (1)
Downloads
Today 1
This Week 1
This Month 1
Last Day 0
Last Week 1
Last Month 2
Dependencies (1)
Dev Dependencies (3)
Dependents (1)

Copyright 2013 - present © cnpmjs.org | Home |