Edit in JSFiddle

var el = document.querySelector('#what-npm-is-for'),
    initialText = el.textContent;

var pause = 800
var opts = {
    speed: 40,
    loop: false,
    postfix: ''
};

var typist = malarkey(el, opts)

typist
    .pause(2400).delete(initialText.length)
    .type('browsers').pause(pause).delete(8)
    .type('mobile').pause(pause).delete(6)
    .type('angular').pause(pause).delete(7)
    .type('bower').pause(pause).delete(5)
    .type('jquery').pause(pause).delete(6)
    .type('nodebots').pause(pause).delete(8)
    .type('gulp').pause(pause).delete(4)
    .type('browserify').pause(pause).delete(10)
    .type('grunt').pause(pause).delete(5)
    .type('tessel').pause(pause).delete(6)
    .type('JavaScript.').pause(1200)
<h1>npm is the package manager for <span id="what-npm-is-for">node</span></h1>