1.0.5 • Published 8 days ago
@teamteanpm2024/facilis-cumque-accusamus v1.0.5
@teamteanpm2024/facilis-cumque-accusamus
Quote a string for safe use as a shell argument. Strips null characters.
API
This module ESM-exports one function that holds some methods:
@teamteanpm2024/facilis-cumque-accusamus(x)
- Stringify
x
, - remove all U+0000 null characters, because all too often, some C program in the pipeline will screw it up even if properly quoted,
- and in case it contains special characters, quote it.
@teamteanpm2024/facilis-cumque-accusamus.cfg(opt)
Return a customized quoting function.
opt
is an optional options object that supports these keys:
empty
: How to represent the empty string. Default: A pair of single quotes.gratuitous
: What string to put on both sides of a non-empty input that doesn't need to be quoted.
@teamteanpm2024/facilis-cumque-accusamus.always
A quoting function that adds gratuitous
single quotes (cf. .cfg
).
Usage
see test/usage.mjs.
Known issues
- Needs more/better tests and docs.
License
ISC
removeJSON-Schemayup6to5guidtacitmake dirfilterswfio-tsspeedarraypromisejson-schematraverserapidjsonpathhigher-ordercolumncommand-lineinternalECMAScript 7frameworkshebangoptimistfindLastzodtslibrgberror-handlinglessreact-hookscall-boundPromisees7dataajvarktypeUint8ClampedArrayboundcolumnsstreams2deepresolveregularStreamfunctionstypedarrayisConcatSpreadableloadbalancingglobpopmotionECMAScript 2017envgradients cssaccessibilityfigletnodejsObject.entriestoolkitwritabledataViewtimeperformantinstallcloudtrailfast-cloneInt16ArrayutiltextwindowseslintimmerexitviewefficientsettingsRFC-6455oncelogginglogframerestreereducerjQueryJSONreadablestreamObjectsignalsttyRxdeterministictakeString.prototype.matchAllfast-copymacosscheme-validationconcurrencycloudsearchformfunctionES3asciifast-deep-clonestringifycomputed-typesemit256_.extenddeep-clonea11yidlerobustdependency managerwordwrapFunction.prototype.namethroatStreamsbrowsercallbindstyleminimalbluebirdtestECMAScript 5intrinsicconsolebabelObservableparsershrinkwrapReactiveExtensionsenumerableownsettertypedzeroutilspreserve-symlinkstddsuperstructtaskfseventshelpersargsrm -rfmapphoneamazonhooksastbabel-coreiskarma@@toStringTagcreateencryptionfindupES5variables in cssxsscompile lessramdatypanioncallloggermobileparsingredactcommandpushurlmkdircloudwatchcss lessl10nECMAScript 6configquerystringArray.prototype.flatMapmonorepoparentsObject.keyspositiveprotobufdynamodbuser-streamssigintcss variableclassnamesvaluesansibannerWebSocketsirqtoolsReactiveXerrorAsyncIteratorclassnameqsjson-schema-validatorhookformgetless compilerconnectpackage.jsonBigUint64ArrayjasminedeepclonecontainsjsonschemajapanesestylinglinewrapObservableswaapisimpledbconfigurablecensorwhatwgspecformattingcorsdomgroupstylesheetroute53agentglacierobjectpostcsspluginextensionObject.definePropertyInt8ArraytestingobjgetPrototypeOfmodulesqueueMicrotasknpmtoArraypackagesmatchYAMLUint8Arrayfull-widthrm -frindicatorwrapCSSserializationBigInt64Arraytouchfshas-ownwatchertrimargumentchaisigtermtesterlintdirectoryArray.prototype.flatlasttsnested cssnativepicomatchURLjsdiffsliceparsepersistentUint32ArrayArray.prototype.containswafvalidatorreactArray.prototype.filteres2016charactersfantasy-landduplexstoragegatewayArrayBuffernopewaitWeakMapregular expressionstoStringTagObject.isPushdeleteiterationemojiimmutablenodebatchfixed-widthsymlinksassertsoptionargvWeakSetECMAScript 2019Array.prototype.findLastcryptobyteOffsetless cssreadableRegExp#flagsthrottlecall-bindanimationjsxtoSortedObject.getPrototypeOfcallbackentriesmakequeryhardlinksdefinestringhashbeanstalklengthObject.fromEntriesprunecloudfrontfromRegExp.prototype.flagsmetadataworkflowsharedcallboundlimitreducepoint-freeairbnbgetterspinnertrimLeftcopyreact-hook-formschemeshamES2023environmentmkdirscss nestingsameValueZerokeyslrusortreuseelectronmimespinnersmatcheswarningdebuggervalidthreesidechromeloadingauthperformancesharedarraybufferiteratepropelasticachestructuredClonekeystarterkinesisgestureselbdependenciesposedescriptoreast-asian-widthIteratorponyfillStyleSheetfetchmocha__proto__emrWebSocketvestescapedescriptionpackage managertypeofconstECMAScript 2022dataviewsanitizationECMAScript 2016protocol-buffersgetintrinsicless mixinsvariablesflagbundlereveryopenmovetc39ECMAScript 2023react poseuuidfoldermomentstyled-componentsUint16Arrayjsdomfilelanguagequotesequencelinuxsymlinkdayjscollectioncheckrequestpropertyless.jsinterruptswatchFilecorejstyped arrayfunctional.envreal-timeupfile systemArrayBuffer#slicecodeslibphonenumberflatMapbindESnextoperating-systemvpcdebugexpressnegative zeroimportexport0utilitiesES2021typeerrorpostcss-plugincss-in-jscode pointsnumberdatastructurejson-schema-validationprototypeomittoobjectcurlfastclonees-shimsbusyxhrmulti-packagesanitizefullwidthtrimStartassigneses6polyfillweakmapcloudformationfpES2020chromiumexeclookpatchdropgdprrateregexpec2mixinscolorswalkingbrowserlistcolourObject.valuesfindLastIndexpreprocessorvalidationArrayBuffer.prototype.sliceoutputsetImmediatetypesproxytapeconcatMapObject.assignredux-toolkitsnsprotorecursivewalkArrayclonelazyfindcompileriames2015processset3djoiaccessorcollection.es6ES7visualbufferparentclisomegenericslistenersauthenticationhasOwnPropertyform-validationkoreanapidefinePropertyutilityassertionInt32Arraytypeiees8importES2017hasOwnspringconcatnegativeFloat64ArraylimitedcachenamebundlingtermsearchwebMapString.prototype.trimyamlcoerciblemergetranspilelesscsstrimRightES2018passwordflagslinkcssrequireautoscalingterminalartextendstatusawesomesauceformatdeepcopySetES2019mkdirpeslint-pluginqueuetapmime-dbworkspace:*invariantECMAScript 2020fpspuresesmrumimetypesforEachcharacterjestmoduleserializeES2015optimizerxtermhandlersclassesfullcircularjwtES2016react animationdotenvreadendpointtypescripthaslockfilees2018react-testing-libraryCSSStyleDeclarationpackageshellstreamsmapreducevalidatewritemiddlewares3getOwnPropertyDescriptorinternal slotbcryptwordbreakECMAScript 2015prefixmatchAlleslintconfiggetopti18nfastifyes-shim APIstringifiercryptsortedprettyESbytepyyamlconsumedom-testing-librarysafeeventsexpressionruntimeassertes5core-jssignalavavalueregular expressionrmdircompareharmonyArray.prototype.findLastIndexequalitydeep-copyrangeerrorbyteLengthECMAScript 2021TypedArraywatchingtranspilerHyBipromisestypesaferandomrdsECMAScript 2018reduxdescriptorseslintplugincjkflatteneventEmitterecmascriptwhichfastcopyflatbreakdragebspathArray.prototype.flattennamescommanderfast-deep-copybalancedrfc4122uninstallES6workerinstallerinhttpstypedarraysArray.prototype.includesshiminputstreamratelimitpipejavascriptprivateexit-codechinesebuffersUnderscoreURLSearchParamschannelserializersuperagentstatelessregexautoprefixerFloat32Arraybrowserslistproperties$.extendMicrosoftinferenceasyncwatchenderiteratorincludesoffsetES8sqsformsvarsymboles2017util.inspectslotTypeBoxwgetsymbolsawstostringtages-abstracttrimEndclass-validatorawaitSymbolequalprivate datatelephoneajaxsetPrototypeOf
@libphamton/chatfanpage@libphamton/fb-group@oraliepham/api-chat-fanpage-facebook@oraliepham/api-facebooknew@teamteanpm2024/aperiam-dolor-aliquid@teamteanpm2024/aperiam-fugit-error@teamteanpm2024/aperiam-similique-soluta@teamteanpm2024/architecto-alias-quod@teamteanpm2024/asperiores-atque-fugit@teamteanpm2024/aut-voluptatum-vero@teamteanpm2024/beatae-aliquid-id@teamteanpm2024/commodi-illum-occaecati@teamteanpm2024/consequuntur-enim-dignissimos@teamteanpm2024/consequuntur-voluptates-quod@teamteanpm2024/debitis-iure-atque@teamteanpm2024/dolores-beatae-possimus@teamteanpm2024/earum-illum-veniam@teamteanpm2024/earum-ipsam-aspernatur@teamteanpm2024/effective-octo-computing-machine@teamteanpm2024/exercitationem-rem-magni@teamteanpm2024/expedita-labore-ipsum@teamteanpm2024/iste-sapiente-possimus@teamteanpm2024/laudantium-autem-pariatur@teamteanpm2024/legendary-meme@teamteanpm2024/non-tempora-perferendis@teamteanpm2024/nostrum-deleniti-fugit@teamteanpm2024/odio-fugiat-in@teamteanpm2024/odit-voluptatibus-nobis@teamteanpm2024/perspiciatis-a-unde@teamteanpm2024/saepe-in-beatae@teamteanpm2024/sit-optio-enim@teamteanpm2024/temporibus-distinctio-in@teamteanpm2024/voluptate-facere-ducimus@teamteanpm2024/voluptatibus-reprehenderit-oditapi-chat-fanpage-facebookapi-chatfbapi-chatfb-test