UNPKG

monotype

Version:

Structured monospaced text construction & display utilities

16 lines (13 loc) 249 B
/*! * Copyright (c) 2019 Justin Johansson */ 'use strict'; /** * Produces a foo result * * @param {string} str The value to be foo'ed * @return {number} The foo'ed result */ module.exports.foo = function foo(str) { return +str * 2; };