Giter VIP home page Giter VIP logo

buzzphrase's Introduction

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:

# ยฏ\_(ใƒ„)_/ยฏ 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}'):

  buzzphrase {iterations} {format}
โ‡’ npm install -g buzzphrase
โ‡’ buzzphrase
# same as `buzzphrase 1 '{a} {v} {N}'`

synthesized transitional alignments

โ‡’ 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

โ‡’ buzzphrase 2

intermediated 24/7 convergence, leveraging distributed anti-fragile paradigm-shifts

โ‡’ buzzphrase 3

enhanced incremental initiatives independent of reinvigorated extensible channels, which revolutionizes mesh didactic partnerships

โ‡’ 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

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:
    {
      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
    buzzphrase.get({
        format: "{i} {a} {v} {N}",
        iterations: iterations,
    });
  • getPhrase(iterations)

    • DEPRECATED: instead use
    buzzphrase.get({
        iterations: iterations,
    });
  • buzz(iterations)

    • DEPRECATED: instead use
    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 | Docker for 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

follow

Related

If you like this module, check out antic or BuzzphraseBot for lulz!

buzzphrase's People

Contributors

atomantic avatar dependabot-preview[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

buzzphrase's Issues

make getPhrase polymorphic and take config object

Just notes to myself:

Next evolution of getPhrase.

getPhrase({
  format: 'a v v n f' // returns "adj verb verb noun-singular final"
})
getPhrase({
  format: 'a v v N f' // returns "adj verb verb noun-plural final"
})
  • add "final" feature
  • add "format" option

scraps of code for possible extending of buzzphrase

I posted some scraps that wrap this, as a subfolder in another general gibberish repository over here, which you may want to make use of, or maybe I'll get around to it, or maybe I'll just create another node module that slightly extends this. These scraps are at:

https://github.com/earthbound19/gibberish_computer_generated/tree/master/buzzPhraseSentence

Sample output:

We open conveyed bleeding-edge engagement.
We embrace scaled upcycled concepts, protecting against input incremental programming.
We hybridize concatenated mission-critical bandwidth.
We store arranged disintermediate applications.
We arrange filtered-out organizational value-add, independent of syndicated asynchonous initiatives.

Next things it would be fun to do is have an option to create a full sentence by joining sentence openers with automagic correct conjugation; tacking buzzphrase enders onto openers like:

"I've been wondering what would happen if I <past-tense/object-like buzzphrase>"
We're considering the benefits of..
We're building..
I built..
What do you think about..?
I've been ..

Too much and it gets into grammatical complexities I wouldn't want to invest in coding, though :/

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.