node package manager
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »


Posixy Extensions for Node.js

Build Status

This package will provide you with some utilities that you might already know from Node.js, but which behave a bit more reliable.


npm install posixy

API reference, linkLocation, callback)

  • linkTarget: the new link should point to that file
  • linkLocation: the location of the new link to create
  • callback: a function which will be called after creating the link. The function will be invoked with one argument: null or an error.

Create a hard link at linkLocation which points to the file at linkTarget. Unlike, will fail for an already existing linkLocation.


  • callback: a function which will be invoked after generating a temporary file name. The function will be invoked with two arguments: Beginning with null or an error followed by an object (like '{path: "…"}') or null (in case of an error).

Create the name for a future temporary file/folder.