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

1.0.2 • Public • Published

feudalism

Turn your code into a fiefdom

Installation

npm i -g feudalism

Usage

Usage: feudalism [options] [command]

Turn your code into a fiefdom

Options:
  -V, --version           output the version number
  -h, --help              display help for command

Commands:
  search|s <term>         Search for a word in the dictionary
  run|r [options] <file>  Run a file through the feudalizer
  help [command]          display help for command

You can also use it programatically like this:

import { feudalize } from 'feudalism';

console.log(feudalize(
  {
    ecmaVersion: 'latest',
    sourceType: 'script',
  },
  'const x = 5;',
  {},
  (name) => name + 'xyz',
  false,
));

License

This project is licensed under the MIT license.

Package Sidebar

Install

npm i feudalism

Weekly Downloads

1

Version

1.0.2

License

MIT

Unpacked Size

56.6 kB

Total Files

21

Last publish

Collaborators

  • shreyasm-dev