Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/powar/example/deps.ts>powar.Module

A simple but powerful TypeScript-based dot-file manager.
Latest
interface powar.Module
implements ModuleConfig
import { type powar } from "https://deno.land/x/powar@1.0.4/example/deps.ts";
const { Module } = powar;

A powar-ts module.

Properties

action: (p: ModuleApi) => Promise<void>

The action to perform for this module.

This is a function which takes the powar-ts module API and performs some relevant tasks with it (installing/copying files, running commands, etc.).