JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 213
  • Score
    100M100P100Q81266F
  • License MIT

Create file links.

Package Exports

  • filelink

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (filelink) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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.