This is a simple test library written in TypeScript for learning how to publish TypeScript packages to NPM.
npm install first-npm-by-shibilicv
Import the library functions and use them:
import { sayHello, sayHelloProps } from 'first-npm-by-shibilicv';
// Define the props
const user: sayHelloProps = {
firstName: 'John',
lastName: 'Doe',
age: 25,
};
// Use the function
sayHello(user);
This library requires:
- Node.js and NPM
- TypeScript
- Tsup
To start using in your project:
- Install with
npm install first-npm-by-shibilicv
- Import needed functions and classes
- Build your project using TypeScript compiler
This library is licensed under the MIT License. See LICENSE for more information.
Contributions welcome! Please open issues or PRs on GitHub.
Shibilicv
This provides details on installation, usage, getting started, licensing, contributing, and the author for a simple test TypeScript npm package. Let me know if you need any part expanded or clarified!