filepilot 1.0.3 → 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 +8 -8
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "filepilot",
3
- "version": "1.0.3",
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,7 +2,7 @@
2
2
 
3
3
  A powerful, developer-friendly Node.js module for seamless file operations with both synchronous and asynchronous support.
4
4
 
5
- [!Filepilot](https://img.shields.io/npm/v/filepilot.svg)
5
+ [!File pilot](https://img.shields.io/npm/v/filepilot.svg)
6
6
 
7
7
  [!Npm](https://img.shields.io/npm/dm/filepilot.svg)
8
8
 
@@ -26,19 +26,19 @@ A powerful, developer-friendly Node.js module for seamless file operations with
26
26
  📦 Installation
27
27
 
28
28
  ```bash
29
- npm install easy-file-reader
29
+ npm install filepilot
30
30
  ```
31
31
 
32
32
  or
33
33
 
34
34
  ```bash
35
- yarn add easy-file-reader
35
+ yarn add filepilot
36
36
  ```
37
37
 
38
38
  🚀 Quick Start
39
39
 
40
40
  ```javascript
41
- const { read, write, readLines, watch } = require('easy-file-reader');
41
+ const { read, write, readLines, watch } = require('filepilot');
42
42
 
43
43
  // Async/Await - Modern approach
44
44
  async function example() {
@@ -241,7 +241,7 @@ Legacy Support
241
241
  For backward compatibility with your original API:
242
242
 
243
243
  ```javascript
244
- const { ReadFile, ReadStream } = require('easy-file-reader');
244
+ const { ReadFile, ReadStream } = require('filepilot');
245
245
 
246
246
  // Sync read
247
247
  const content = ReadFile('file.txt');
@@ -255,7 +255,7 @@ ReadStream('file.txt').then(content => console.log(content));
255
255
  Processing Large CSV Files
256
256
 
257
257
  ```javascript
258
- const { readLines } = require('easy-file-reader');
258
+ const { readLines } = require('filepilot');
259
259
 
260
260
  async function processLargeCSV() {
261
261
  let total = 0;
@@ -277,7 +277,7 @@ async function processLargeCSV() {
277
277
  Config File with Watching
278
278
 
279
279
  ```javascript
280
- const { read, watch } = require('easy-file-reader');
280
+ const { read, watch } = require('filepilot');
281
281
 
282
282
  class ConfigManager {
283
283
  constructor(configPath) {
@@ -333,7 +333,7 @@ config.watch();
333
333
  Backup System
334
334
 
335
335
  ```javascript
336
- const { copy, read, write, stats, listDirectory } = require('easy-file-reader');
336
+ const { copy, read, write, stats, listDirectory } = require('filepilot');
337
337
 
338
338
  async function createBackup(sourceDir, backupDir) {
339
339
  // Create backup directory with timestamp