Napping Panda Missionaries
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

filelink

4.0.0 • Public • Published

filelink

Build Status Code Climate Code Coverage npm Version JS Standard

Create file links.

Installation

$ npm install filelink --save

Usage

Create a relative symlink.

'use strict'
 
const filelink = require('filelink')
 
filelink('src/foo.js', 'dest/foo-link.js', {
  force: true
}).then(() => {
  /* ... */
});

Options

Key Description Default
type Type of link. "symlink" or "link" "symlink"
force Force to create link. false
mkdirp Create parent directories. false

License

This software is released under the MIT License.

Keywords

install

npm i filelink

Downloadsweekly downloads

110

version

4.0.0

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar