Skip to content

Latest commit

 

History

History
48 lines (38 loc) · 1.18 KB

README.md

File metadata and controls

48 lines (38 loc) · 1.18 KB

dutch-to-haags-translator

Translate Dutch to the Hague dialect

Installation

With npm installed, run

$ npm install @q42/dutch-to-haags-translator --save

Usage

import { translate } from '@q42/dutch-to-haags-translator';
console.log(translate('Oh oh Den Haag, mooie stad achter de duinen!'));
  
// Result: "Oh oh De Haag, mauie stad achtâh de dùinûh!"

Debugging

import { showHits } from '@q42/dutch-to-haags-translator';
showHits('Oh oh Den Haag, mooie stad achter de duinen!');

Thanks!

This project is a port of the HaagsTranslator project.
Special thanks to: Mark, Maurice, Roelfjan, Sjaak Bral, Marnix Rueb and Robert-Jan Rueb

Develop

$ npm run compile:watch
$ npm run test

Deploy

# bump version
$ npm version [<newversion> | major | minor | patch | premajor | preminor | prepatch | prerelease | from-git]
   
# not sure yet, do a dryrun
$ npm run dryrun
   
# pubplish
$ npm publish

License

MIT