lnfs
Safely force create symlinks
Last updated 9 years ago by kevva .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install lnfs 
SYNC missed versions from official npm registry.

lnfs Build Status

Safely force create symlinks

Install

$ npm install lnfs

Usage

const lnfs = require('lnfs');

lnfs('foo.txt', 'bar.txt').then(() => {
	console.log('Symlink successfully created!');
});

API

lnfs(src, dest, [type])

Returns a Promise with the path to the symlink.

src

Type: string

Path to source file.

dest

Type: string

Path to destination.

type

Type: string
Default: file

Can be set to dir, file, or junction and is only available on Windows (ignored on other platforms).

Related

License

MIT © Kevin Mårtensson

Current Tags

  • 3.0.1                                ...           latest (9 years ago)

5 Versions

  • 3.0.1                                ...           9 years ago
  • 3.0.0                                ...           11 years ago
  • 2.0.0                                ...           11 years ago
  • 1.1.0                                ...           11 years ago
  • 1.0.0                                ...           11 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 4
Last Day 0
Last Week 4
Last Month 1
Dependencies (4)
Dev Dependencies (2)
Dependents (1)

Copyright 2013 - present © cnpmjs.org | Home |