some POSIX utilities that behave correctly(tm)
C++ JavaScript Python
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

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.