You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

content-entry-filesystem

Package Overview
Dependencies
Maintainers
1
Versions
111
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

content-entry-filesystem

Content entries within the file system

9.0.10
latest
Source
npmnpm
Version published
Weekly downloads
571
-52.1%
Maintainers
1
Weekly downloads
 
Created
Source

npm License Typed with TypeScript bundlejs downloads GitHub Issues Build Status Styled with prettier Commitizen friendly Known Vulnerabilities Coverage Status

Content entries within the file system

API

Table of Contents

FileSystemEntry

Extends StreamContentEntry

A ContentEntry backed by a file.

Parameters

  • name string of the file
  • options
  • baseDir string directory the file is located in

baseDir

Type: string

filename

Absolute file path.

Returns string

isExistent

Check for presence of the entry.

Returns (Promise<boolean> | boolean)

isEmpty

Check is entry represents an empty file.

Returns (Promise<boolean> | boolean)

mode

Returns (number | Promise<number>)

size

Returns (Promise<number> | number)

atime

Returns Promise<Date>

ctime

Returns Promise<Date>

mtime

Returns Promise<Date>

uid

Returns Promise<number>

gid

Returns Promise<number>

writeStream

Returns WritableStream

toJSON

Returns Object

install

With npm do:

```shell

npm install content-entry-filesystem ```

license

BSD-2-Clause

FAQs

Package last updated on 28 May 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts