open-index/open-npm huggingface dataset:
npm package: @hansaemis/hansaedesign
Description: This is the Hansei Design Library.
Author: HANSAE-MIS
Latest version: 0.1.4
Deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

# Getting Started with hansaedesign

This is the Hansei Design Library.


### `npm i @hansaemis/hansaedesign`

yarn - yarn add @hansaemis/hansaedesign\
Install the package using npm or yarn.


### `import`

import { Button } from "@hansaemis/hansaedesign"\
Import and use the component you want to fetch.


### `component and icon`

The package contains components and icons.



## Learn More

You can learn more in the [hansae design github](https://github.com/HANSAE-MIS/storybook).
npm package: @hansaka02/news-fetcher
Description: An advanced Node.js module to fetch the latest news from Google News RSS.
Author: hansaka02
Latest version: 1.1.4

# news Module

An advanced Node.js module to fetch the latest news from Google News RSS.

## Installation

To install the module, run the following command:

```bash
npm install @hansaka02/news-fetcher
```
## usage

To use this module, you can do the following:

### Import module

```javascript
const { getNews } = require('@hansaka02/news-fetcher');
```

### fetching news text

```javascript
(async () => {
    try {
        console.log('Fetching latest news...\n');

        const news = await getNews();

        if (news.error) {
            console.error('Error fetching news:', news.error);
            return;
        }

        // Display the news in a formatted way
        news.forEach((item, index) => {
            console.log(`${index + 1}. ${item.title}`);
            console.log(`   🔗 ${item.link}\n`);
        });

    } catch (error) {
        console.error('Unexpected error:', error.message);
    }
})();
```
### you can input catogories format

```plaintext
Top Stories(dont input anything)
World
Nation
Business
Technology
Entertainment
Science
Sports
Health
```
#### how its use
```javascript

/*------------you can use catogory or quary to filter news------------*/
getNews({category:'science'})
getNews({query:'sri lanka sports'})
```