- Added sftp-types.ts to define SFTP protocol constants, types, and attributes. - Introduced sftp.ts to implement the SFTP client, handling requests, responses, and error management. - Implemented methods for file operations including open, read, write, remove, and directory management. - Added error handling for SFTP protocol errors and timeouts. - Included utility functions for encoding and decoding SFTP packets.
17 lines
404 B
JSON
17 lines
404 B
JSON
{
|
|
"compilerOptions": {
|
|
"target": "ES2022",
|
|
"module": "ES2022",
|
|
"moduleResolution": "Bundler",
|
|
"allowImportingTsExtensions": true,
|
|
"lib": ["ES2022", "WebWorker"],
|
|
"types": ["@cloudflare/workers-types"],
|
|
"strict": true,
|
|
"noEmit": true,
|
|
"skipLibCheck": true,
|
|
"isolatedModules": true,
|
|
"forceConsistentCasingInFileNames": true
|
|
},
|
|
"include": ["src/**/*.ts"]
|
|
}
|