# file-properties

> gives file information

Latest version **1.0.2** (published 2017-12-18) · ISC license · 0 weekly downloads

## Install

```sh
npm install file-properties
pnpm add file-properties
yarn add file-properties
bun add file-properties
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.2 |
| Published | 2017-12-18 |
| First published | 2017-12-18 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| Author | hemanthcb |
| Maintainers | hemanthcb |
| Keywords | file-properties, file, read-file, file-data, file-info |

## Links

- npm: https://www.npmjs.com/package/file-properties
- npm.io page: https://npm.io/package/file-properties

## Dependencies (1)

- [fs](https://npm.io/package/fs.md) 0.0.1-security

## Alternatives

- [unionfs](https://npm.io/package/unionfs.md) — 2.2M weekly downloads
- [path-starts-with](https://npm.io/package/path-starts-with.md) — 35.9K weekly downloads
- [redzip](https://npm.io/package/redzip.md) — 1.2K weekly downloads
- [vscode-anymatch](https://npm.io/package/vscode-anymatch.md) — 848 weekly downloads
- [@ledgerhq/coin-filecoin](https://npm.io/package/@ledgerhq/coin-filecoin.md) — 793 weekly downloads

## Recent versions

- 1.0.2 (latest) — 2017-12-18
- 1.0.1 — 2017-12-18
- 1.0.0 — 2017-12-18

## README

# file-properties [![Build Status]](https://www.npmjs.com/package/file-properties)

>  Get the latest file-properties.


## Install

```
  npm install file-properties                    
```
## Usage
```
  import random from 'file-properties'   or require('file-properties');
  
  var test =require('file-properties');
  console.log(test.getFileProperties())             

  //output
    { path: '-----',
  information:
   Stats {
     dev: 3367541589,
     mode: 33206,
     nlink: 1,
     uid: 0,
     gid: 0,
     rdev: 0,
     blksize: undefined,
     ino: 844424930847330,
     size: 400,
     blocks: undefined,
     atimeMs: 1513598587128.1682,
     mtimeMs: 1513598587129.1675,
     ctimeMs: 1513598587165.3706,
     birthtimeMs: 1513598587128.1682,
     atime: 2017-12-18T12:03:07.128Z,
     mtime: 2017-12-18T12:03:07.129Z,
     ctime: 2017-12-18T12:03:07.165Z,
     birthtime: 2017-12-18T12:03:07.128Z },
  isDirectory: false,
  isFile: true,
  mode:
   { owner: { read: 'e', write: 'w', execute: 'x' },
     group: { read: 'r', write: 'w', execute: 'e' },
     others: { read: 'r', write: 'w', execute: '-' } } }


```


## License

MIT © [Hemanth.cb]

---
_Source: https://npm.io/package/file-properties · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
