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

linotypejs

v1.0.3

Published

full page composition module

Downloads

22

Readme

component.collection-linotype Build Status NPM version

Example

Check out example/index.html, the example javascript for the example page is resources/js/example_src.js and in the head section of the respective examples. Full non-js graceful fallback

Live Demo - http://typesettin.github.io/component.collection-linotype

Installation

$ npm install linotypejs

The full page scroll component is a browserify javascript module.

Usage

JavaScript

var LinotypeObject = require('linotypejs'),
	myLinotype;
//initialize linotype component after the dom has loaded
window.addEventListener('load',function(){
	myLinotype = new LinotypeObject({
		idSelector: 'linotype'
	});
	//expose your nav component to the window global namespace
	window.myLinotype = myLinotype;
});

HTML

<html>
	<head>
  	<title>Your Page</title>
  	<link rel="stylesheet" type="text/css" href="[path/to]/component.collection-linotype.css">
  	<script src='[path/to/browserify/bundle].js'></script>
	</head>
	<body>
    <div id="linotype" class="linotype">
    	<div class="section active">
		    <h1>Page One </h1>
		    <p>the basic structure, require a linotype class (for css) and sections for each fullpage section</p>
		  </div>
		  <div class="section">
		    <h1>Page Two </h1>
		    <p>Any html content can go here</p>
		  </div>
		  <div class="section">
		    <h1>Page Three </h1>
		    <p>Keyboard, MouseWheel and Touch Support</p>
		  </div>
		  <div class="section">
		    <h1>Page Four </h1>
		  </div>
	</body>
</html>

##API

myLinotype.section(1); //jump to section 1

###FULL API DOCUMENTATION

##Development Make sure you have grunt installed

$ npm install -g grunt-cli

Then run grunt watch

$ grunt watch

##Notes

  • The Navigation Module uses Node's event Emitter for event handling.
  • The less file is located in resources/stylesheets

About Linotypes

The linotype machine (/ˈlaɪnətaɪp/ lyn-ə-typ) is a "line casting" machine used in printing. Along with letterpress printing, linotype was the industry standard for newspapers, magazines and posters from the late 19th century to the 1960s and 70s, when it was largely replaced by offset lithography printing and computer typesetting.

The name of the machine comes from the fact that it produces an entire line of metal type at once, hence a line-o'-type, a significant improvement over the previous industry standard, i.e., manual, letter-by-letter typesetting using a composing stick and drawers of letters. The linotype machine operator enters text on a 90-character keyboard.

The machine assembles matrices, which are molds for the letter forms, in a line. The assembled line is then cast as a single piece, called a slug, of type metal in a process known as "hot metal" typesetting. The matrices are then returned to the type magazine from which they came, to be reused later. This allows much faster typesetting and composition than original hand composition in which operators place down one pre-cast metal letter, punctuation mark or space at a time.

The machine revolutionized typesetting and with it especially newspaper publishing, making it possible for a relatively small number of operators to set type for many pages on a daily basis. Before Mergenthaler's invention of the linotype in 1884, no daily newspaper in the world had more than eight pages.