Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

khayyamjs

mehdisadeghi10MIT1.0.4

Collection of 106 Omar Khyyams' quatrains

readme

khayyam npm version

106 Omar Khayyam quatrains in YAML format.

Install

npm install khayyamjs

Use

In JS code:

var khayyam = require('khayyamjs')
console.log(khayyam[0]) // Will print first quatrain

Or directly use the contents of khayyam.yaml file.