string-collapse-leading-whitespace

v7.0.2
Collapse the leading and trailing whitespace of a string
alt attributes characters dash email encoding fancy quote remove and 6 more...

build

node '../../ops/scripts/esbuild.js' && npm run dts

cjs-off

exit 0

cjs-on

exit 0

dev

DEV=true node '../../ops/scripts/esbuild.js' && npm run dts

devtest

c8 npm run unit && npm run examples && npm run lint

dts

rollup -c && npm run prettier -- 'types/index.d.ts' --write --loglevel 'silent'

examples

node '../../ops/scripts/run-examples.js'

lect

node '../../ops/lect/lect.js' && npm run prettier -- 'README.md' '.all-contributorsrc' 'rollup.config.js' --write

letspublish

npm publish || :

lint

eslint . --ext .js --ext .ts --fix

perf

node perf/check.js

prep

echo 'ready'

prettier

prettier

prettier:format

npm run prettier -- --write '**/*.{ts,tsx,md}' --no-error-on-unmatched-pattern --loglevel 'silent'

pretest

npm run lect && npm run build

test

npm run devtest

unit

uvu test

Metadata

  • MIT
  • >=14.18.0
  • Roy Revelt
  • released 12/6/2022

Downloads

Maintainers