filelink
Create file links.
Last updated 2 years ago by okunishinishi .
MIT · Repository · Bugs · Original npm · Tarball
$ cnpm install filelink 
SYNC missed versions from official npm registry.

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.

Maintainers (1)
Downloads
Today 0
This Week 9
This Month 122
Last Day 9
Last Week 10
Last Month 10
Dependencies (5)
Dev Dependencies (8)

Copyright 2014 - 2017 © taobao.org |