@alsfimayo-cli/rpc
v1.0.12
Published
RPC client for backend API
Readme
@alsfimayo-cli/rpc-client
RPC client for backend API.
Installation
npm install @alsfimayo-cli/rpc-client
# or with pnpm
pnpm add @alsfimayo-cli/rpc-client
# or with yarn
yarn add @alsfimayo-cli/rpc-client
Usage
import { myFunction } from "@alsfimayo-cli/rpc-client";
async function main() {
const result = await myFunction();
console.log(result);
}
main();
Features
Lightweight RPC client
Written in TypeScript
Easy integration with your backend API
Distributed as ESM with type definitions
Available Scripts
dev – Run in watch mode with tsx
build – Compile TypeScript into dist/
lint – Check code style with ESLint
test – Placeholder for running tests
Contributing
Pull requests are welcome!
For major changes, please open an issue first to discuss what you would like to change.
License
ISC
© 2025 Ali Ahmad