Skip to content

Cloudxtreme/lnfs

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lnfs Build Status

Safely force create symlinks

Install

$ npm install --save lnfs

Usage

const symlink = require('lnfs');

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

API

lnfs(src, dest, type)

src

Required
Type: string

Path to source file.

dest

Required
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

About

Safely force create symlinks

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%