classify-poetry

recognize type poetry in a given text excerpt

MIT License

Downloads
24
Stars
11
Committers
4

Bot releases are visible (Hide)

classify-poetry - Latest Release

Published by ChristianMurphy almost 2 years ago

Upgrades code and typings to support modules in node16 mode. https://www.typescriptlang.org/docs/handbook/esm-node.html

Requires node 14 or higher

classify-poetry -

Published by ChristianMurphy over 3 years ago

add engines noting supported node js versions.

classify-poetry -

Published by ChristianMurphy over 3 years ago

fix packaging issue where types were not published

classify-poetry -

Published by ChristianMurphy over 3 years ago

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.

classify-poetry -

Published by ChristianMurphy over 4 years ago

  • 5cbaf3bee5b6d2c31d2db0443003514ee06301f8 correct export to match documentation (thanks @jballa91)
  • a140367b90c23e4709052fb102f5fc0196092b28 upgrade cmu-pronouncing-dictionary and syllable to latest major release, upgrade prettier and reformat project, upgrade ava and update test cases.