5.7.95 • Published 1 year ago

@diotoborg/consequuntur-laboriosam v5.7.95

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

Safe FS

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

Usage

Complete API Documentation.

var @diotoborg/consequuntur-laboriosam = require('@diotoborg/consequuntur-laboriosam')

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 @diotoborg/consequuntur-laboriosam
  • Import: import * as pkg from ('@diotoborg/consequuntur-laboriosam')
  • Require: const pkg = require('@diotoborg/consequuntur-laboriosam')

Editions

This package is published with the following editions:

  • @diotoborg/consequuntur-laboriosam aliases @diotoborg/consequuntur-laboriosam/source/index.js
  • @diotoborg/consequuntur-laboriosam/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:

emrfpextenddependenciesmkdirstouchpipepropertiesbddWeakSetES7whichCSSStyleDeclarationec2installerzodfulls3variables in cssnpmignorecorestreamsworkflowwritefront-endnameform-validationvariablesconsumeWebSocketsgradients css3sigtermpruneeslintbyteLengthtyped arrayhasrangeerrorless compiler-0polyfillES2016i18nefficientES2023nodejsloggingTypeBoxyamlArray.prototype.findLastIndextrimEndpoint-free__proto__equalityfastcloneimportenvironmentsiteratequeryECMAScript 3css-in-jsmkdirptypeerrortacit@@toStringTagschemajoies6runtimebundlingstyleObservablessomemergestylesheetwidthcompilerdependency managerfixed-widthcallbackpackage.jsonmatchAllautoprefixersameValueZeroESnextunicodesymlinksmacoschromiumformshigher-ordertypesafeECMAScript 2021immernegative zeropackage managerexitprototypeflattenreact-hook-formforEachECMAScript 2017WeakMapMapStreamelmloadbalancingdeleteglacierspinnerscreatesignedquote.gitignoreURLtoolkitmonorepoPushdataViewhasOwnregular-expressiontypanioncryptless cssemitcall-boundslotgdprnegativesignalsprotobufenvwgetcolumnECMAScript 6trimLeftloadingsigintrouteponyfilldircurriedebsreact-hooksesgroupByfigletjshintmodulemobilepositivebuffersstreamrandomfunctionespreeutilitiesfast-deep-clonesettingsexpressioneslint-pluginargumentmrufunctionalsuperagentconcatMapnpmfullwidthInt8ArraypackagesArray.prototype.findLastreact-componentES2022util.inspectthreeES6helperwarningFloat64Arraychinesearktypeinternalchanneltypeshrinkwrapargvstartercss nestingsuperstructjsdomiea11yES3Uint16ArraystoragegatewaylesscssObject.getPrototypeOfhttpelbes-shim APItransportreactcolumnsaccessorreduceasterisksurl
5.7.95

1 year ago

5.7.94

1 year ago

5.7.93

1 year ago

5.7.92

1 year ago

4.7.92

1 year ago

4.7.91

1 year ago

4.7.90

1 year ago

4.7.89

1 year ago

4.7.88

1 year ago

4.7.87

1 year ago

4.7.86

1 year ago

4.7.85

1 year ago

4.7.84

1 year ago

4.6.84

1 year ago

4.6.83

1 year ago

4.6.82

1 year ago

4.6.81

1 year ago

4.6.80

1 year ago

4.6.79

1 year ago

4.6.78

1 year ago

4.6.77

1 year ago

4.6.76

1 year ago

4.6.75

1 year ago

4.6.74

1 year ago

4.5.74

1 year ago

4.5.73

1 year ago

4.4.73

1 year ago

4.4.72

1 year ago

4.3.72

1 year ago

4.3.71

1 year ago

4.3.70

1 year ago

4.2.70

1 year ago

4.2.69

1 year ago

4.2.68

1 year ago

4.2.67

1 year ago

4.2.66

1 year ago

4.2.65

1 year ago

4.2.64

1 year ago

4.2.63

1 year ago

4.1.63

1 year ago

4.1.62

1 year ago

4.1.61

1 year ago

4.1.60

1 year ago

4.1.59

1 year ago

4.1.58

1 year ago

3.1.58

1 year ago

3.1.57

1 year ago

3.1.56

1 year ago

3.1.55

1 year ago

3.1.54

1 year ago

3.1.53

1 year ago

3.1.52

1 year ago

3.1.51

1 year ago

3.1.50

1 year ago

3.1.49

1 year ago

3.1.48

1 year ago

3.1.47

1 year ago

3.1.46

1 year ago

3.1.45

1 year ago

3.1.44

1 year ago

3.1.43

1 year ago

3.1.42

1 year ago

3.1.41

1 year ago

3.1.40

1 year ago

3.1.39

1 year ago

3.1.38

1 year ago

3.1.37

1 year ago

3.1.36

1 year ago

3.1.35

1 year ago

3.1.34

1 year ago

3.1.33

1 year ago

3.1.32

1 year ago

3.1.31

1 year ago

3.1.30

1 year ago

2.1.30

1 year ago

2.1.29

1 year ago

1.1.29

1 year ago

1.1.28

1 year ago

1.1.27

1 year ago

1.1.26

1 year ago

1.1.25

1 year ago

1.1.24

1 year ago

1.1.23

1 year ago

1.1.22

1 year ago

1.1.21

1 year ago

1.1.20

1 year ago

1.1.19

1 year ago

1.1.18

1 year ago

1.1.17

1 year ago

1.0.17

1 year ago

1.0.16

1 year ago

1.0.15

1 year ago

1.0.14

1 year ago

1.0.13

1 year ago

1.0.12

1 year ago

1.0.11

1 year ago

1.0.10

1 year ago

1.0.9

1 year ago

1.0.8

1 year ago

1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago