import PersianNumber, {latinToPersian, arabicToPersian} from './PersianNumber.js';
import PersianNumberWords from './PersianNumberWords.js';

const components = {
  PersianNumber,
  PersianNumberWords,
  latinToPersian,
  arabicToPersian,
};

export default components;

import PersianNumber, { latinToPersian, arabicToPersian, formatString, removeCommasFromString } from './PersianNumber.js';
import PersianNumberWords from './PersianNumberWords.js';

const components = {
  PersianNumber,
  PersianNumberWords,
  latinToPersian,
  arabicToPersian,
  formatString,
  removeCommasFromString,
};

export default components;

Add remove commas & format string
Add remove commas & format string