buzzphrase

所属分类:超算/并行计算
开发工具:JavaScript
文件大小:0KB
下载次数:0
上传日期:2023-04-16 18:04:46
上 传 者sh-1993
说明:  有时,您需要“并行管理选项的平衡互惠编程概念”,
(Sometimes you need a "balanced reciprocal programming concept for parallel management options",)

文件列表:
.editorconfig (318, 2022-11-03)
.eslintrc (91, 2022-11-03)
.npmignore (13, 2022-11-03)
.nvmrc (3, 2022-11-03)
.travis.yml (49, 2022-11-03)
CONTRIBUTING.md (3006, 2022-11-03)
HISTORY.md (3197, 2022-11-03)
LICENSE (726, 2022-11-03)
bin.js (588, 2022-11-03)
config.js (219, 2022-11-03)
data/ (0, 2022-11-03)
data/adjectives.js (1532, 2022-11-03)
data/continuation.js (398, 2022-11-03)
data/final.js (231, 2022-11-03)
data/nouns.plural.js (1166, 2022-11-03)
data/nouns.singular.js (1168, 2022-11-03)
data/verbs.imperative.js (1896, 2022-11-03)
data/verbs.past.js (3583, 2022-11-03)
data/verbs.present.js (3842, 2022-11-03)
index.js (869, 2022-11-03)
lib/ (0, 2022-11-03)
lib/format.js (1361, 2022-11-03)
lib/unique.js (1095, 2022-11-03)
package-lock.json (102185, 2022-11-03)
package.json (1384, 2022-11-03)
test/ (0, 2022-11-03)
test/config/ (0, 2022-11-03)
test/config/index.js (576, 2022-11-03)
test/index.js (382, 2022-11-03)
test/methods/ (0, 2022-11-03)
test/methods/get.js (3418, 2022-11-03)
test/methods/getImperative.js (276, 2022-11-03)
test/methods/getPhrase.js (3094, 2022-11-03)
test/methods/log.js (423, 2022-11-03)
test/methods/node.js (762, 2022-11-03)

# buzzphrase [![](https://travis-ci.org/atomantic/buzzphrase.svg?branch=master)](https://travis-ci.org/atomantic/buzzphrase) [![](https://img.shields.io/npm/dm/buzzphrase.svg?style=flat)](https://www.npmjs.org/package/buzzphrase) [![](https://img.shields.io/npm/v/buzzphrase.svg?style=flat)](https://www.npmjs.org/package/buzzphrase) ## Get a Buzzword Phrase Since I like to synergize backward overflow for upward mobility (thank you 30 Rock) as much as the next person, I figured this could make a fun if not at all useful node module. This is also a module I use for educational purposes and the occasional private git commit message: ```bash # \_(ツ)_/ don't do this to people you work with git commit -m "$(buzzphrase 2)" ``` As of 2.0.0, this module splits up the word groups into verb + adjective + noun and allows combining multiple phrases with a continuation phrase. It also now has logic to make each word mostly unique in the overall phrase. See below when called with 15 joined phrases. ## Usage ### As a Global Install Run on the command line, you can specify the number of joining iterations (default 1) and a format (default '{a} {v} {N}'): ```bash buzzphrase {iterations} {format} ``` ```bash npm install -g buzzphrase buzzphrase # same as `buzzphrase 1 '{a} {v} {N}'` ``` > synthesized transitional alignments ```bash buzzphrase 1 '{v} {a} {n}' ``` > lobotomized bleeding-edge community The format method is also useful for testing new word additions with random counterparts: ``` buzzphrase 1 '{v} {a} consumption' ``` > repurposed organizational consumption ```bash buzzphrase 2 ``` > intermediated 24/7 convergence, leveraging distributed anti-fragile paradigm-shifts ```bash buzzphrase 3 ``` > enhanced incremental initiatives independent of reinvigorated extensible channels, which revolutionizes mesh didactic partnerships ```bash buzzphrase 15 ``` > concealed compatible paradigm-shifts, in contrast to emitted unique convergence, in preparation for serialized innovative abstractions, which revolutionizes e-enabled acoustic singularity, anticipating filtered didactic policies, independent of printed-out best-of-breed hardware, liberating leveraged reciprocal management, enhanced by branded digital pooling on behalf of virtualized zero-downtime #DevOps, which foreshadows upheld extravehicular normalization for facilitated polymorphic markets, which will enable printed multilayered communities, protecting against scanned organizational clusters, forging offloaded 24/7 virtualization, pioneering clicked asynchronous partnerships ### As a module ```javascript import buzzphrase from "buzzphrase"; // OR //const buzzphrase = require("buzzphrase"); // get a phrase as a building block console.log("we are building " + buzzphrase.get()); // -> we are building marshalled retroactive applications // custom phrase console.log( buzzphrase.get({ format: "{i} {a} {n} {f}", }) ); // -> embrace digital #DevOps for dummies // log a joined series of 2 phrases to the console buzzphrase.log({ iterations: 2 }); // -> initialized cognitive paradigm-shifts, in preparation for iterated ubiquitous architectures ``` ### Format Recommendations #### '{a} {v} {N}' - default ``` retrospective digitized relationships adaptive accelerated markets shallow merged markets ``` #### '{a} {v} {n}' ``` unique routed projection sustainable filed touchpoint quantum initialized programming ``` #### '{V} {a} {n} {f}' ``` incentivizing B2B value-add as code popping-up frictionless partnership at scale evolving third-generation projection for people ``` ### '{i} {v} {a} {N}' ``` deliver merged immersive channels syndicate engineered all-purpose interfaces grow architected adversarial mobility ``` ### API - `get(config)`: Get a phrase, with config options - default config: ```javascript { format: '{a} {v} {N}', iterations: 1 } ``` - `format`: This is a string template that will replace the following with random words - `{a}` adjective - `{c}` continuation - `{f}` final (e.g. "for dummies") - `{i}` imperative verb - `{N}` plural noun - `{n}` singular noun - `{v}` past-tense verb (e.g. initialized) - `{V}` present participle verb (e.g. clustering) - `iterations`: specify how many times the format should be joined together with continuations ('{c}'). For example, specifying `get({iterations: 2})` will conjoin the default format into `{a} {v} {N} {c} {a} {v} {N}` - `getImperative(iterations)` - _DEPRECATED_: instead use ```javascript buzzphrase.get({ format: "{i} {a} {v} {N}", iterations: iterations, }); ``` - `getPhrase(iterations)` - _DEPRECATED_: instead use ```javascript buzzphrase.get({ iterations: iterations, }); ``` - `buzz(iterations)` - _DEPRECATED_: instead use ```javascript buzzphrase.log({ iterations: iterations, }); ``` - `log(config)`: same as `get(config)` but also uses console.log to spit this out into STDOUT ## Testing ``` npm test ``` ### Testing all supported node.js versions 1. install docker | [Docker for Mac](https://www.docker.com/docker-mac) | [Docker for Windows](https://www.docker.com/docker-windows) 2. run tests ``` npm run nodeversions ``` # Author Adam Eivy is a Principal Software Engineer at a large media company by day and a drawing dad by night. [Find him here on the interwebs](https://adameivy.com) ![follow](https://img.shields.io/twitter/follow/antic.svg?style=social&label=Follow) # Related If you like this module, check out [antic](https://www.npmjs.com/package/antic) or [BuzzphraseBot](https://twitter.com/BuzzphraseBot) for lulz!

近期下载者

相关文件


收藏者