recognize type poetry in a given text excerpt
MIT License
Bot releases are visible (Hide)
Upgrades code and typings to support modules in node16
mode. https://www.typescriptlang.org/docs/handbook/esm-node.html
Requires node 14 or higher
this release adds typescript definitions and uses ES Module format
to migrate change
// from cjs import
var classifyPoetry = require("classify-poetry").classifyPoetry;
// to esm import
import { classifyPoetry } from "classify-poetry";
for additional ESM considerations see this guide on ESM.
cmu-pronouncing-dictionary
and syllable
to latest major release, upgrade prettier
and reformat project, upgrade ava
and update test cases.