arrayiffy-if-string

Put non-empty strings into arrays, turn empty-ones into empty arrays. Bypass everything else.


Keywords
api, array, arrayiffy, cast, if, input, into, only, string, stringify, turn, validate, validation
License
MIT
Install
npm install arrayiffy-if-string@5.0.8

Documentation

Codsen

A turbo-monorepo of 130 npm packages 📦📦📦

📚 Documentation

Please visit codsen.com for an overview and full documentation of all packages.

🛠️ Tech stack

  • npm — with workspaces
  • lerna + conventional-changelogs — automates versioning and changelogs
  • turborepo — to run tasks within monorepo
  • uvu + c8 — program unit test runner and code coverage
  • typescript — with Project References — for all source code
  • esbuild — to build *.ts into ESM and IIFE
  • rollup + rollup-plugin-dts — to generate *.d.ts

🐛 Issue Tracker

For bugs, feature requests and so on, use the Issue Tracker.

💼 Licence

MIT License

Copyright (c) 2010-2024 Roy Revelt and other contributors