filepilot 1.0.2 → 1.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/readme.md +14 -11
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "filepilot",
3
- "version": "1.0.2",
3
+ "version": "1.0.4",
4
4
  "description": "A powerful, developer-friendly file system module for reading, writing, and managing files with ease",
5
5
  "main": "index.js",
6
6
  "files": [
package/readme.md CHANGED
@@ -2,10 +2,13 @@
2
2
 
3
3
  A powerful, developer-friendly Node.js module for seamless file operations with both synchronous and asynchronous support.
4
4
 
5
- https://img.shields.io/npm/v/filepilot.svg
6
- https://img.shields.io/npm/dm/filepilot.svg
7
- https://img.shields.io/node/v/filepilot.svg
8
- https://img.shields.io/badge/License-MIT-yellow.svg
5
+ [!File pilot](https://img.shields.io/npm/v/filepilot.svg)
6
+
7
+ [!Npm](https://img.shields.io/npm/dm/filepilot.svg)
8
+
9
+ [!Node](https://img.shields.io/node/v/filepilot.svg)
10
+
11
+ [!License](https://img.shields.io/badge/License-MIT-yellow.svg)
9
12
 
10
13
  ✨ Features
11
14
 
@@ -23,19 +26,19 @@ https://img.shields.io/badge/License-MIT-yellow.svg
23
26
  📦 Installation
24
27
 
25
28
  ```bash
26
- npm install easy-file-reader
29
+ npm install filepilot
27
30
  ```
28
31
 
29
32
  or
30
33
 
31
34
  ```bash
32
- yarn add easy-file-reader
35
+ yarn add filepilot
33
36
  ```
34
37
 
35
38
  🚀 Quick Start
36
39
 
37
40
  ```javascript
38
- const { read, write, readLines, watch } = require('easy-file-reader');
41
+ const { read, write, readLines, watch } = require('filepilot');
39
42
 
40
43
  // Async/Await - Modern approach
41
44
  async function example() {
@@ -238,7 +241,7 @@ Legacy Support
238
241
  For backward compatibility with your original API:
239
242
 
240
243
  ```javascript
241
- const { ReadFile, ReadStream } = require('easy-file-reader');
244
+ const { ReadFile, ReadStream } = require('filepilot');
242
245
 
243
246
  // Sync read
244
247
  const content = ReadFile('file.txt');
@@ -252,7 +255,7 @@ ReadStream('file.txt').then(content => console.log(content));
252
255
  Processing Large CSV Files
253
256
 
254
257
  ```javascript
255
- const { readLines } = require('easy-file-reader');
258
+ const { readLines } = require('filepilot');
256
259
 
257
260
  async function processLargeCSV() {
258
261
  let total = 0;
@@ -274,7 +277,7 @@ async function processLargeCSV() {
274
277
  Config File with Watching
275
278
 
276
279
  ```javascript
277
- const { read, watch } = require('easy-file-reader');
280
+ const { read, watch } = require('filepilot');
278
281
 
279
282
  class ConfigManager {
280
283
  constructor(configPath) {
@@ -330,7 +333,7 @@ config.watch();
330
333
  Backup System
331
334
 
332
335
  ```javascript
333
- const { copy, read, write, stats, listDirectory } = require('easy-file-reader');
336
+ const { copy, read, write, stats, listDirectory } = require('filepilot');
334
337
 
335
338
  async function createBackup(sourceDir, backupDir) {
336
339
  // Create backup directory with timestamp