Normalize Text Versions Save

📝 Provides a simple functions to normalize texts, whitespaces, paragraphs & diacritics.

2.5.0

3 months ago
  • ✨ Provide tagged string template function for normalizeWhiteSpaces.

    normalizeWhiteSpaces`
      Now you can write long texts and can even line
      break them in the code without having to rely on
      the uncanny ' + \n
    `
    //=> "Now you can write long texts and can even line break them in the code without having to rely on the uncanny ' + \n"
    

    Thanks to @phuvinhbmt for PR #21.

2.4.1

1 year ago
  • 🐛 Add types entry on package's exports in order to fix a nodenext module resolution error.

    Thanks to @rayzr522 for PR #19.

  • ⬆️ Upgrade devDependencies;

  • 📝 Fix README.md bundlephobia badges;

2.4.0

2 years ago
  • ⬆️ Update dependencies and devDependencies;
  • 📦 Add support to NodeJS ESM (.mjs or using "type": "module");

2.3.3

2 years ago

Version 2.3.3

Changes

  • 🏷 Fix exceptions type in normalizeName's JSDoc.
  • ⬆️ Upgrade devDependencies.

2.3.2

3 years ago

Version 2.3.2

Changes

  • 🐛 Change substitution pattern that was too wide, to preserve letters like ß in normalizeDiacritics. Thanks to @chocolateboy for issue #9.
  • ⬆️ Upgrade @bitty/pipe.
    • It just reduces our bundle size a bit.
  • ⬆️ Upgrade devDependencies.

2.3.0

3 years ago

Version 2.3.0

Changes

  • ⚡ Bundle @bitty/pipe in UMD bundles and use as external in ESM and CommonJS.
  • 🏗 Use Rollup.js instead of bili (a Rollup.js abstraction) to bundle sources.
  • 🏗 Transpile sources and unit tests with TypeScript.
  • 🔥 Remove rollup-plugin-typescript2 and ts-jest.
  • ⬆️ Upgrade devDependencies.

2.2.1

3 years ago

Version 2.2.1

Changes

  • 🐛 Fix ESM bundle not found.

    Thanks to @saculbr for PR #8.

2.2.0

3 years ago

Version 2.2.0

Changes

  • ✨ Add source-maps for transpiled JavaScript modules and type declarations.

2.1.4

3 years ago

Version 2.1.4

Changes

  • ⬆️ Upgrade devDependencies.
  • 🐛 Fix a small type error checking if normalize method exists in String constructor.

2.1.3

3 years ago

Version 2.1.3

Changes

  • ⚡ Add pure annotations (/*#__PURE__*/) on pipe calls.