{"id":24645299,"url":"https://github.com/creativelive/rind-modules","last_synced_at":"2026-05-17T22:35:50.241Z","repository":{"id":14828499,"uuid":"17551278","full_name":"creativelive/rind-modules","owner":"creativelive","description":"rind modules symlink builder","archived":false,"fork":false,"pushed_at":"2014-06-02T21:12:37.000Z","size":203,"stargazers_count":1,"open_issues_count":0,"forks_count":2,"subscribers_count":11,"default_branch":"master","last_synced_at":"2025-02-26T12:19:52.185Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/creativelive.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-03-08T21:23:08.000Z","updated_at":"2014-08-05T18:10:59.000Z","dependencies_parsed_at":"2022-09-23T23:21:37.235Z","dependency_job_id":null,"html_url":"https://github.com/creativelive/rind-modules","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/creativelive%2Frind-modules","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/creativelive%2Frind-modules/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/creativelive%2Frind-modules/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/creativelive%2Frind-modules/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/creativelive","download_url":"https://codeload.github.com/creativelive/rind-modules/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244637100,"owners_count":20485446,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-01-25T14:14:44.211Z","updated_at":"2026-05-17T22:35:45.206Z","avatar_url":"https://github.com/creativelive.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Rind Modules [![](https://travis-ci.org/creativelive/rind-modules.svg)](https://travis-ci.org/creativelive/rind-modules)\n\nBuild a symlink tree to turn a module-based file hierarchy into an entity based one\n\n```\n├── modules  // input directory\n│   ├── aaa\n│   │   └── bbb.mod\n│   │       ├── assets\n│   │       │   └── img\n│   │       │       └── file.txt\n│   │       ├── lib\n│   │       │   └── file.txt\n│   │       └── templates\n│   │           └── file.txt\n│   └── ccc.mod\n│       ├── assets\n│       │   └── img\n│       │       └── file.txt\n│       └── templates\n│           └── file.txt\n└── output  // output directory\n    ├── assets\n    │   └── img  // mapped a sub-directory\n    │       ├── aaa\n    │       │   └── bbb -\u003e ../../../../modules/aaa/bbb.mod/assets/img\n    │       └── ccc -\u003e ../../../modules/ccc.mod/assets/img\n    ├── lib\n    │   └── aaa\n    │       └── bbb -\u003e ../../../modules/aaa/bbb.mod/lib\n    └── templates\n        ├── aaa\n        │   └── bbb -\u003e ../../../modules/aaa/bbb.mod/templates\n        └── ccc -\u003e ../../modules/ccc.mod/templates\n```\n\nModules are identified by having a `.mod` extension on their directory. Modules cannot\nbe nested inside eachother, but can be nested inside a directory tree to allow\ngrouping of related modules. For example:\n\n```\nmodules/\n  user/\n    login.mod ...\n    signup.mod ...\n```\n\n## Usage\n\n```\nvar rindModules = require('rind-modules');\n\n// object describing module top-level directories to map\nvar anatomy = {\n  lib: true,        // map the `lib` directory\n  templates: true,  // map the `templates` directory\n  assets: {         // map the `assets` directory and\n    sub: true       // its `sub`directories\n  }\n}\n\nrindModules({\n  anatomy: anatomy,\n  input: __dirname,\n  output: __dirname + '/output',\n  // rm: true, // use with caution - deletes any existing targets in the output directory\n  verbose: true,\n});\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcreativelive%2Frind-modules","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcreativelive%2Frind-modules","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcreativelive%2Frind-modules/lists"}