npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@abdalgolabs/ansi-unicode-converter

v1.0.2

Published

Professional Bengali ANSI to Unicode and Unicode to ANSI converter by ABDNAHID

Readme

Markdown

@abdalgolabs/ansi-unicode-converter

npm version license

A professional, lightweight, and high-performance Bengali language converter. Seamlessly switch between Bijoy (ANSI) and Unicode encoding. Developed by ABDNAHID under ABDALGOLABS.

This package is designed to work in Node.js environments, browser-based projects, and even as a remote API for Excel.

Features

  • Bijoy to Unicode: Convert legacy ANSI text to modern Unicode.
  • Unicode to Bijoy: Convert Unicode to ANSI for use with fonts like SutonnyMJ.
  • Smart Detection: Automatically detects if a string is already Unicode to prevent double conversion.
  • TypeScript Native: Full type definitions included for a great developer experience.
  • Excel Friendly: Ready to be used with Excel's WEBSERVICE function.

Installation

npm install @abdalgolabs/ansi-unicode-converter
Usage
In Node.js / TypeScript
TypeScript
import { bijoyToUnicode, unicodeToBijoy, isUnicode } from '@abdalgolabs/ansi-unicode-converter';

// Convert Bijoy to Unicode
const ansiText = "Avgvi †mvbvi evsjv";
const unicodeResult = bijoyToUnicode(ansiText);
console.log(unicodeResult); // আমার সোনার বাংলা

// Convert Unicode to Bijoy
const uniText = "আমার সোনার বাংলা";
const ansiResult = unicodeToBijoy(uniText);
console.log(ansiResult); // Avgvi †mvbvi evsjv

// Check if text is already Unicode
console.log(isUnicode("Hello")); // false
console.log(isUnicode("আমার")); // true

Usage in Microsoft Excel
You can use this package as a live API to convert cells in Excel.
1. For Bijoy to Unicode
Paste this formula in a cell (Replace YOUR_URL with your Vercel deployment link):
Excel
=WEBSERVICE("https://YOUR_URL.vercel.app/api/convert?type=b2u&text=" & ENCODEURL(A1))
2. For Unicode to Bijoy
Excel
=WEBSERVICE("https://YOUR_URL.vercel.app/api/convert?type=u2b&text=" & ENCODEURL(A1))
Note: For the result to look like Bangla, you must change the cell font to SutonnyMJ.

API Endpoints
If you deploy the included server.ts, you get the following endpoints:
Technical Details
This converter handles complex Bengali linguistic rules, including:
Rearranging "Kar" (ে, ি, ৈ) positions.
Handling "Reph" (র্) and "Ro-fola" (্র) logic.
Correcting common conjuncts (যুক্তবর্ণ).
License
MIT © ABDALGOLABS
Developed by ABDNAHID

### Why this README is effective:
1.  **Badges**: It uses shields.io badges at the top which makes the package look official.
2.  **Usage Examples**: It shows both TypeScript and Excel examples, covering both your use cases.
3.  **Table of Contents**: It clearly defines what the API does.
4.  **Scoped Branding**: It emphasizes **ABDALGOLABS** and **ABDNAHID** as the authors.



### Final Step:
1.  Save this as `README.md`.
2.  `git add README.md`
3.  `git commit -m "docs: add professional readme"`
4.  `git push origin main`
5.  **Publish again**: `npm version patch` then `npm publish`. (NPM requires a version bump li