indic-transliteration / sanscript.js

Transliteration package for Indian scripts
MIT License
98 stars 39 forks source link

Check README.md #19

Closed vvasuki closed 4 years ago

vvasuki commented 4 years ago

Is following bit still ok? Will everything work if you open a file://... rather than a http location?

<script src="node_modules/@sanskrit-coders/sanscript/sanscript.js"></script>
var output = Sanscript.t(input, from, to, options);
psvenk commented 4 years ago

This should still work because dist.js reads from src/sanscript.js and writes to sanscript.js in the root of the repository, so running npm run dist before running npm publish should put the generated file in the same path where the source file used to be.

vvasuki commented 4 years ago

Ok, thanks!