5.7.95 • Published 10 months ago

@diotoborg/consequuntur-laboriosam v5.7.95

Weekly downloads
-
License
MIT
Repository
github
Last release
10 months 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

10 months ago

5.7.94

10 months ago

5.7.93

10 months ago

5.7.92

10 months ago

4.7.92

10 months ago

4.7.91

10 months ago

4.7.90

10 months ago

4.7.89

10 months ago

4.7.88

10 months ago

4.7.87

10 months ago

4.7.86

10 months ago

4.7.85

10 months ago

4.7.84

10 months ago

4.6.84

10 months ago

4.6.83

10 months ago

4.6.82

10 months ago

4.6.81

10 months ago

4.6.80

11 months ago

4.6.79

11 months ago

4.6.78

11 months ago

4.6.77

11 months ago

4.6.76

11 months ago

4.6.75

11 months ago

4.6.74

11 months ago

4.5.74

11 months ago

4.5.73

11 months ago

4.4.73

11 months ago

4.4.72

11 months ago

4.3.72

11 months ago

4.3.71

11 months ago

4.3.70

11 months ago

4.2.70

11 months ago

4.2.69

11 months ago

4.2.68

11 months ago

4.2.67

11 months ago

4.2.66

11 months ago

4.2.65

11 months ago

4.2.64

11 months ago

4.2.63

11 months ago

4.1.63

11 months ago

4.1.62

11 months ago

4.1.61

11 months ago

4.1.60

11 months ago

4.1.59

11 months ago

4.1.58

11 months ago

3.1.58

11 months ago

3.1.57

11 months ago

3.1.56

12 months ago

3.1.55

12 months ago

3.1.54

12 months ago

3.1.53

12 months ago

3.1.52

12 months ago

3.1.51

12 months ago

3.1.50

12 months ago

3.1.49

12 months ago

3.1.48

12 months ago

3.1.47

12 months ago

3.1.46

12 months ago

3.1.45

12 months ago

3.1.44

12 months ago

3.1.43

12 months ago

3.1.42

12 months ago

3.1.41

12 months ago

3.1.40

12 months ago

3.1.39

12 months ago

3.1.38

12 months ago

3.1.37

12 months 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