npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

echomunge-web

v0.0.1

Published

Collect text (from a web address) and echo back out text with similar patterns. Pure silliness with no practical purpose.

Downloads

3

Readme

EchoMunge-Web

Collect text from Wikipedia and other web pages and echo back out text with similar patterns. Pure silliness with no practical purpose. A little like Chinese Whispers but not really.

For Node.js, you'll find EchoMunge-Web in npm as echomunge-web.

EchoMunge-Web is built on EchoMunge, the generic silly-text generator.

Example

var echoMungeWeb = require('echomunge-web')

echoMungeWeb('http://en.wikipedia.org/wiki/Winston_Churchill', function (err, db) {
  if (err) throw err
  for (var i = 0; i < 100; i++)
    console.log(db.makeText({ maxLength: 500, terminate: true }))
})

And you might get something like this:

Seemingly staggered by Britain stood again at a ball in Crewe House of differing political backgrounds and Dunkirk.

They very much liked tea and was also engaged the army.

From Stettin in Britain as France would not support an 85-year-old who served as Prime Minister of Supply.

Housing Repairs and Rent Act of Marlborough—and A History of British Industries.

Future prime minister because he believed that awkward facts have to be a national trend against British industries like cotton came after long consultation with various reforms were discussed as early 1931, before retiring in anticipation of US help was initiated into Freemasonry at Ploegsteert became one of the Labour and Liberal oppositions had come to the King Edward and in January and December 1910 to estimate that the alias Colonel Warden!

Historians are divided about abdication.

Once again, he saw him as President of the First Lord Hugh Cecil; Timothy West.

Baldwin's reply sounding weak and disturbing the House of people, he crossed the floor to sit as far higher political priority than it had proposed surrendering Antwerp, it turned into septicaemia!

Another associate wrote letters begging her fourth in having para-military forces back into Germany was eventually invested in the tower of the expense of Defence, making him the most influential people in 1904, Baldwin, Great Contemporaries and many young Winston first developed his fascination with military matters from the Conservative Party withdrew his most memorable war correspondent and magazines.

With limited contact with a number of the choice between war on Germany, Churchill became Under-Secretary of State for a leave in England, now part of a battalion headquarters.

Following the resignation, they encountered an enemy, published stories, for this might be held to suggest some moral equivalence with her for a certain ingenuity to the front at Ploegsteert became one of the bombing of life, as well as commander of the disastrous Battle of Gallipoli.

Portrayals of Churchill and by the Exchequer; his mother, directed operations and Joseph Chamberlain's proposal of extensive tariffs, and several histories in addition, tax allowances were raised, construction of council housing Acts, and in Labour circles never recovered.

11 Group's underground bunker at RAF fighter pilots who won, and Adventures.

Already suffering from imports and received much critical acclaim.

OR you could use the bundled executable that you'll get if you npm install echomunge-web -g to do the same thing:

$ echomunge-web http://en.wikipedia.org/wiki/Winston_Churchill

In fact, you can run the commandline tool without any arguments and it'll collect its data from multiple random Wikipedia pages. There are minimum requirements for content so it'll keep on reading new random pages until it gets enough data. This can make for excellent combinations of totally unrelated articles:

Rumors that women who claimed to have accepted only three volunteers, artists, widely viewed as the best keyboard Apple ever made.

Or, you can supply just a Wikipedia page name:

$ echomunge-web "Winston Churchill"

OR you can just supply a URL of your choice and it'll collect the content from the <p> tags:

$ echomunge-web http://stackoverflow.com/questions/1884724/what-is-node-js

Might yield:

While the Node server side javascript, it services the next request to be retrieved, there, and the platform, providing one of the page.

Because of the equation.

JS is here to stay; other languages are targeting it as an event-driven model, you'd order your food and wait in an HTTP based web based business app developer to choose between the other scripting languages are regarding how Node.

  • great mental weightlifting.

node and multi-threading makes one word to describe node, I'd say.

; other language, hardened C-code like Express makes it a lot like javascript to machine code with JS turned on or off with Node, recycle them periodically, Futures, etc.

Oh what fun!

API

echoMungeWeb(url, callback)

Your URL can be any of:

  • null - it'll do its random Wikipedia page(s) thing
  • Wikipedia page name - and it'll use that Wikipedia page
  • Any URL - and it'll fetch just that page

Your callback receives the following arguments:

  • error - null if all was fine, otherwise an error string or object
  • db - an EchoMunge object filled with data from the collected pages
  • urls - an array of URLs that data was collected from
  • paragraphs - the number of useful <p> elements found on the page(s)

Licence

EchoMunge-Web is Copyright (c) 2012 Rod Vagg @rvagg and licenced under the MIT licence. All rights not explicitly granted in the MIT license are reserved. See the included LICENSE file for more details.