home-man
TypeScript icon, indicating that this package has built-in type declarations

0.0.9 • Public • Published

home-man

dotfiles manager inspired by nixos home-manager

interpolation

support for string interpolation into files

from.css

:root {
    --foreground: #$#colors.foreground#;
}

home.js

import { Home, FImport } from "home-man";

new Home({
    "./to.css": FImport("./from.css")
}, {
    colors: {
        foreground: "FFFFFF"
    }
}).build()

after build to.css would look like this:

:root {
    --foreground: #FFFFFF;
}

Example

import { Home, Import } from "home-man";

new Home({
    "./to.txt": new Import("./from.txt"),
}, {}).build();

// will symlink ./from.txt to ./to.txt

Installation

for npm

npm install home-man

for pnpm

pnpm add home-man

for bun

bun add home-man

Readme

Keywords

none

Package Sidebar

Install

npm i home-man

Weekly Downloads

0

Version

0.0.9

License

MIT

Unpacked Size

91.3 kB

Total Files

30

Last publish

Collaborators

  • pashabudzin