madrobby/microjs.com — pull request #355 by bahamas10 (2012-12-09 03:14:14+00:00)
Title: Adding the Perms module

![Screen Shot 2012-12-08 at 7.12.58 PM.png](https://f.cloud.github.com/assets/1205722/2184/656d7412-41ae-11e2-8b40-8a4e56e9be39.png)

Check out the module here https://github.com/bahamas10/node-perms#perms

Originally written with just Node in mind, but it has no dependencies at all, so it will work in any javascript environment.

I recently used this module for a Unix tutorial/game website where the user was given a permission string like `rwxr-xr-x`, and had to provide the correct octal permissions (`0755`). This module converts between the two.