1.0.4 • Published 13 days ago

@teamteanpm2024/similique-tenetur-dolores v1.0.4

Weekly downloads
-
License
MIT
Repository
github
Last release
13 days ago

Safe FS

Stop getting EMFILE errors! Open only as many files as the operating system supports.

Usage

Complete API Documentation.

var @teamteanpm2024/similique-tenetur-dolores = require('@teamteanpm2024/similique-tenetur-dolores')

SafeFS uses graceful-fs to wrap all of the standard file system methods to avoid EMFILE errors among other problems.

On-top of graceful-fs, SafeFS also adds additional wrapping on the following methods:

  • writeFile(path, data, options?, next) - ensure the full path exists before writing to it
  • appendFile(path, data, options?, next) - ensure the full path exists before writing to it
  • mkdir(path, mode?, next) - mode defaults to 0o777 & (~process.umask())
  • unlink(path, next) - checks if the file exists before removing it

SafeFS also define these additional methods:

  • ensurePath(path, options, next) - ensure the full path exists, equivalent to unix's mdir -p path
  • getParentPathSync(path) - returns the parent directory of the path

Alternatives

You should use these instead, which use and provide modern APIs while providing brilliant ecosystem support:

Install

npm

  • Install: npm install --save @teamteanpm2024/similique-tenetur-dolores
  • Import: import * as pkg from ('@teamteanpm2024/similique-tenetur-dolores')
  • Require: const pkg = require('@teamteanpm2024/similique-tenetur-dolores')

Editions

This package is published with the following editions:

  • @teamteanpm2024/similique-tenetur-dolores aliases @teamteanpm2024/similique-tenetur-dolores/source/index.js
  • @teamteanpm2024/similique-tenetur-dolores/source/index.js is ESNext source code for Node.js 4 || 6 || 8 || 10 || 12 || 14 || 16 || 18 || 20 || 21 with Require for modules

TypeScript

This project provides its type information via inline JSDoc Comments. To make use of this in TypeScript, set your maxNodeModuleJsDepth compiler option to 5 or thereabouts. You can accomplish this via your tsconfig.json file like so:

{
  "compilerOptions": {
    "maxNodeModuleJsDepth": 5
  }
}

History

Discover the release history by heading on over to the HISTORY.md file.

Backers

Code

Discover how to contribute via the CONTRIBUTING.md file.

Authors

Maintainers

Contributors

Finances

Sponsors

  • Andrew Nesbitt — Software engineer and researcher
  • Balsa — We're Balsa, and we're building tools for builders.
  • Codecov — Empower developers with tools to improve code quality and testing.
  • Poonacha Medappa
  • Rob Morris
  • Sentry — Real-time crash reporting for your web apps, mobile apps, and games.
  • Syntax — Syntax Podcast

Donors

License

Unless stated otherwise all works are:

and licensed under:

openerduplexcircularstatusconfigxtermfiglettypeerrorrapiddirectorystringifierreducerObject.valuespopmotionnegative zerokarmadeepcloneextendwrapqueueMicrotaskio-tsdeep-clonecryptsearchTypedArraystructuredCloneartdefinePropertytypesafehookformlastwordbreakreact animationloggergetkoreanfull-widthPushnodejswaapiutilitieskeyelectronthrottleES7user-streamsECMAScript 2017matchAllemojies5argumentswritestylingwatchexpressionmonorepoECMAScript 5superagentlintindicatorregexptoStringTagArray.prototype.flattengesturesdefaultgetintrinsicenvironmentshebangsigtermsameValueZerostarterrecursivecompilernegativeformattingexpressarraysStreamsArray.prototype.flatMapfolderes6ES3ECMAScript 2015mochachaizodECMAScript 7postcssreact poseObservablessanitizationECMAScript 2018operating-systemjsxAsyncIteratorless.jsterminalStyleSheetECMAScript 2016fseventssettingsrobustpoint-freeArrayBuffer#slicetapeauthenticationmixinscallbackcommanderbootstrap csslaunch[[Prototype]]consumetddpostcss-pluginarrayclassessignalsflagencryptiontypeofemitshrinkwrapArray.prototype.containsfindjson-schema-validatorgenericsObject.assigninterruptsvariables in csspackagestextECMAScript 2021Object.definePropertywalkenvBigUint64Arraystatelessspringcallinternal slotescapepatchwatchFiledotenvargparseapphandlersdropcss lessvarhardlinksless compilerfetchtypedwatchercommand-linemimetypesdeterministicwebsitejsonpathRFC-6455configurableESremovehooksWebSocketmake dirworkermodulecss-in-jsbcrypthttpsclassnamespolyfillurldebugsideidlematcheshasOwngroupfilejson-schema-validationCSSclonenodeqssymbolses2015timemrutc39streams2propthroatlookWeakSetECMAScript 2020fast-deep-copyajvbufferbddstartapishellfastifyclassnamefiltermodulesprocesscall-bindObject.getPrototypeOfdeletejsonchromiumfastclonelazytaskdatecolourparsefscallbindcollectioniterategraphql256querystringecmascriptES2021trimLeftspechttplogpicomatchtestingpasswordreducevalidatekeysES2016scheme-validationdataViewiterationmomenti18ntoSortedUint8ArrayESnextargspropertiesrm -frloadinghelpers_.extendfplimitedless mixinscode pointsfastcopydependenciestakethreefast-deep-cloneairbnbes2016Symbol.toStringTagspinnerwarningstreamSymbolhigher-orderES2019stylesheet-0webisesvisual.envpersistentbrowserfixed-widthreduxrm -rfexecutablecontainsform-validationstylesschemaeventEmitterreusedescriptiontacitless cssparentbusyfastpropertyjoiexewaitpreprocessortelephonesymbolStreamassertsortJSON-Schemareadablestreamtrimnamesspawnpreserve-symlinkstoucherrorfindupbuffersreact-hooksES2018byteLengthincludesES5$.extendratelimitsanitizeWeakMapdirsetImmediatelibphonenumbercore-jsxsstoolsCSSStyleDeclarationdependency managerdomdayjsieeventDispatcherpromisesoptimizerpositivesharedarraybuffermoveECMAScript 2023breakxdg-openflattengetPrototypeOffind-uplengthwindowscharactersJSONtypedarraysortedFloat64ArraycreatecachenameanimationbundlerparsermatchdataviewjasmineloggingtrimRighttranspilewalkingeventsexecmkdiroptimistfantasy-landirqdatastructureRegExp.prototype.flagsconsoleeslintconfigInt8ArrayrmES2017apollojson-schemaYAMLArrayBuffer.prototype.slicebabelECMAScript 6bootstrap lesspackage managerdatadiffcolumnsyntaxinputes8nativeaccessibilitycolorimmeruuidObjecttypespeedestreeHyBiES2023traverseregularstyleguidetermmacosinstallergroupByastflagsjavascriptPromiseasciichannelstyled-componentspruneprettyreadpackage.jsonhasresolveFloat32Arrayspinnerscoerciblefast-cloneassertionfunctionsprotoa11ycjkUint8ClampedArrayserializertrimEndxhrprivate dataminimalupArray.prototype.includesvariablescallboundreadablees-shimsredactposegetOwnPropertyDescriptorFunction.prototype.namees-shim APIoffsetArray.prototype.flatguidwhatwgcryptowatchingchromevalidationnumbersaferamdaslotbytepathtostringtagsymlinksjestInt16Array0Int32ArrayES8lruECMAScript 2022unicodeweaksetcharacterObject.isrfc4122getterfindLastomitinferenceawaitdescriptorssharedcensorutilsdom-testing-libraryletponyfillconcatMapArray.prototype.filterhashcss nestingsetargumentefficientmaketyped arrayprivatechineselistenersarktyperequireReactiveXfast-copybatch6to5toArrayeditorcomputed-typesshambrowserlistString.prototype.trimargvlessbindmergestringtypesprototype@@toStringTagclientpnpm9formatcliRxECMAScript 3ttyclass-validatorgradients cssparentsTypeBoxstablevalidmime-dblook-upprefixxdgMapfullwidthrgbjsonschemaglobTypeScriptphonelesscssaccessor3dReflect.getPrototypeOfyamlexit-codecall-boundsettersetPrototypeOftapformcollection.es6typescripttypanionoptionassignObject.entriesgradients css3mkdirsregexsignalobjectansiruntimejQuerybabel-coreiteratordescriptor
1.0.2

15 days ago

1.0.4

13 days ago

1.0.3

14 days ago

1.0.1

16 days ago

1.0.0

16 days ago