JSPM

h-inator

0.1.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 6
  • Score
    100M100P100Q38995F
  • License MIT

Replace every character in a string with h.

Package Exports

  • h-inator

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (h-inator) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

h-inator

Replaces every character with a string with h. That's all there is to it.

Installation

npm i h-inator

Usage & Example

const h = require('h-inator');

let str = 'I love cupcakes.';
let hStr = h(str);

console.log(hStr); // 'h hhhh hhhhhhhh.'

Options

FIELD TYPE DESCRIPTION
str string the string to replace.

Made with <3 by Lily :)