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

voynichjs

v0.1.7

Published

Library and command-line tool to analyze the Voynich manuscript.

Downloads

3

Readme

Build Status

This package includes utilities for reading the Voynich Manuscript. It embeds the Voynich interlinear transcript. It has two modes of operation: command-line and library.

Installation

Voynich is written in node.js, and can be installed via npm. To install these packages, see the below documentation:

Once you've installed node and npm, you may install voynich by running the following command:

npm install -g voynichjs

Command-line mode

Voynich includes a vch command-line tool. To get the text of all paragraphs, you may run the command by itself:

vch

# Yields:
fachys ykal ar ataiin shol shory cthres y kor sholdy
sory ckhar or y kair chtaiin shar are cthar cthar dan
syaiir sheky or ykaiin shod cthoary cthes daraiin sa
ooiin oteey oteos roloty cth*ar daiin otaiin or okan
...

You may extract the text of a specific folio using the --folio flag:

vch --folio=f2v

kooiin cheo pchor otaiin o dain chor dair shty
kcho kchy sho shol qotcho loeees qoty chor daiin
otchy chor lshy chol chody chodain chcthy daiin
sho cholo cheor chodaiin

kchor shy daiiin chckhoy s shey dor chol daiin
dor chol chor chol keol chy chty daiin otchor chan
daiin chotchey qoteeey chokeos chees chr cheaiin
chokoishe chor cheol chol dolody

The input of the folio command is a regular expression. Thus, you print the text of both f2r and f2v:

vch --folio='f2[v|r]'

kydainy ypchol daiin otchal
dorchory shor cthy cth
qotaiin chaiin
chaindy chokaiin d
otochor al ytchaiin dan
saiin daind dchol dchy cthy
shor ckhy daiiny chol dan

kydain shaiin qoy s shol fodan yksh olsheey daiildy
dlssho kol sheey qokey ykody so chol yky dain daiirol
qoky cholaiin shol sheky daiin cthey keol saiin saiin
ychain dal chy dalor shan dan olsaiin sheey ckhor
okol chy chor cthor yor an chan saiin chety chyky sal
sho ykeey chey daiin chcthy

kooiin cheo pchor otaiin o dain chor dair shty
kcho kchy sho shol qotcho loeees qoty chor daiin
otchy chor lshy chol chody chodain chcthy daiin
sho cholo cheor chodaiin

kchor shy daiiin chckhoy s shey dor chol daiin
dor chol chor chol keol chy chty daiin otchor chan
daiin chotchey qoteeey chokeos chees chr cheaiin
chokoishe chor cheol chol dolody

By default, the text displayed is from Paragraphs (P). You may also select other locators as well (L for labels as well as some other codes).

vch --lineType='L\d?'

# Some one-letter entries
otaim dam alam

rary

rals

qor

dara

ykcol

syly
...

Library mode

You may also use voynich as a library. It supports all the same operations as the command-line mode:

var voynich = require('voynich');

console.log(voynich.extractText({folio: 'f1r'}));

// outputs

fachys ykal ar ataiin shol shory cthres y kor sholdy
sory ckhar or y kair chtaiin shar are cthar cthar dan
syaiir sheky or ykaiin shod cthoary cthes daraiin sa
ooiin oteey oteos roloty cth*ar daiin otaiin or okan
dair y chear cthaiin cphar cfhaiin

* odar o y shol cphoy oydar sh s cfhoaiin shodary
yshey shody okchoy otchol chocthy oschy dain chor kos
daiin shos cfhol shody

* ydain cphesaiin ol s cphey ytain shoshy cphodales
oksho kshoy otairin oteol okan shodain sckhey daiin
shoy ckhey kodaiin cphy cphodaiils cthey she oldain d
dain oiin chol odaiin chodain chdy okain dan cthy kod
daiin shckhey ckeor chor shey kol chol chol kor chal
sho chol shodan kshy kchy dor chodaiin sho kchom
ycho tchey chokain sheo pshol dydyd cthy daicthy
yto shol she kodshey cphealy dasain dain ckhyds
dchar shcthaiin okaiir chey rchy potol cthols dlocta
shok chor chey dain ckhey

cpho shaiin shokcheey chol tshodeesy shey pydeey chy ro d*
*doin chol dain cthal dar shear kaiin dar shey cthar
cho*o kaiin shoaiin okol daiin far cthol daiin ctholdar
ycheey okay oky daiin okchey kokaiin **chol k**chy dal
d*eeo shody koshey cthy okchey keey keey dal chtor
*eo chol chok choty chotey