Closed Mehran-Jalali closed 1 year ago
in line 79 of index.js Use the 'default' keyword when exporting a value from a file . like : 79 export default function franc(value, options) { 80 return francAll(value, options)[0][0] 81 }
See the readme. Use import {franc} from 'franc'. Not import franc from 'franc'
import {franc} from 'franc'
import franc from 'franc'
in line 79 of index.js Use the 'default' keyword when exporting a value from a file . like : 79 export default function franc(value, options) { 80 return francAll(value, options)[0][0] 81 }