Popularity
0.9
Growing
Activity
0.0
Stable
13
6
3

Programming language: JavaScript
License: MIT License
Tags: Filesystem     Symlink     Linux     Windows     Osx     Lnfs    
Latest version: v3.0.1

lnfs alternatives and similar modules

Based on the "Filesystem" category.
Alternatively, view lnfs alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of lnfs or a related project?

Add another 'Filesystem' Module

README

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


*Note that all licence references and agreements mentioned in the lnfs README section above are relevant to that project's source code only.