{"_id":"@atwinta/bvi","name":"@atwinta/bvi","dist-tags":{"latest":"1.2.0"},"versions":{"1.2.0":{"name":"@atwinta/bvi","version":"1.2.0","description":"Button visually impaired - is a plugin that automatically changes the visually impaired version of your site. The panel on the site for the visually impaired allows the color scheme of the site, font sizes, the synthesizer reads aloud settings changes. Th","license":"MIT","type":"module","homepage":"https://bvi.isvek.ru","author":{"name":"Oleg Korotenko","email":"bvi@isvek.ru"},"style":"dist/css/bvi.min.css","sass":"src/scss/bvi.scss","main":"dist/js/bvi.min.js","unpkg":"dist/js/bvi.js","scripts":{"rollup":"rollup -c","css":"npm-run-all --parallel css-compile css-minify","css-compile":"sass --style expanded src/scss/bvi.scss --source-map dist/css/bvi.css","css-minify":"cleancss -O1 --format breakWith=lf --with-rebase --source-map --source-map-inline-sources --output dist/css/ --batch --batch-suffix \".min\" \"dist/css/*.css\" \"!dist/css/*.min.css\"","js":"npm-run-all --parallel js-compile js-minify-umd","js-compile":"rollup --config rollup.config.js --sourcemap","js-lint":"eslint src/js/**/*.js","js-lint:fix":"eslint src/js/**/*.js --fix","js-minify-umd":"terser --compress passes=2 --mangle --comments \"/^!/\" --source-map \"content=dist/js/bvi.js.map,includeSources,url=bvi.min.js.map\" --output dist/js/bvi.min.js dist/js/bvi.js","js-minify-esm":"terser --compress passes=2 --mangle --comments \"/^!/\" --source-map \"content=dist/js/bvi.esm.js.map,includeSources,url=bvi.esm.min.js.map\" --output dist/js/bvi.esm.min.js dist/js/bvi.esm.js","watch-js":"nodemon --watch src/js/ --ext js --exec \"npm-run-all js-compile js-minify-umd\"","watch-css":"nodemon --watch src/scss/ --ext scss --exec \"npm-run-all css-compile\""},"keywords":["accessibility","accessible","bvi","Button visually impaired","visually impaired"],"repository":{"type":"git","url":"git+https://github.com/Atwinta/bvi.git"},"bugs":{"url":"https://github.com/Atwinta/bvi"},"devDependencies":{"@babel/core":"^7.14.5","@babel/plugin-syntax-dynamic-import":"^7.8.3","@babel/plugin-transform-object-assign":"^7.14.5","@babel/plugin-transform-runtime":"^7.14.5","@babel/preset-env":"^7.14.5","@rollup/plugin-commonjs":"^19.0.0","@rollup/plugin-node-resolve":"^13.0.0","babel-plugin-array-includes":"^2.0.3","clean-css-cli":"^5.3.0","eslint":"^7.28.0","nodemon":"^2.0.7","npm-run-all":"^4.1.5","postcss":"^8.3.3","postcss-cli":"^8.3.1","rollup":"^2.51.2","rollup-plugin-babel":"^4.4.0","rollup-plugin-node-polyfills":"^0.2.1","rollup-plugin-replace":"^2.2.0","rollup-plugin-terser":"^7.0.2","sass":"^1.34.1"},"dependencies":{"core-js":"^3.14.0","regenerator-runtime":"^0.13.7"},"_id":"@atwinta/bvi@1.2.0","gitHead":"12124d4124a53cb4fdf14ec7d7459506843be93d","_nodeVersion":"18.20.6","_npmVersion":"10.8.2","dist":{"integrity":"sha512-i6/UUFwDaN0ET8z063f+Ti4OC9u9rgKvMncWwfvbkKMh/FqvYew8IufCQXXIpBSvNDb8gfE4zPxZoRYX5+yZxw==","shasum":"2db58b3b19a903b8829ace6c66c0beb7a2c671b0","tarball":"https://registry.npmjs.org/@atwinta/bvi/-/bvi-1.2.0.tgz","fileCount":53,"unpackedSize":582130,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIDtIAlw4dA8u6VLqwwVONE55G5dGqbYDMaGuqG+gKNIpAiEAiXCK7cXgaq4jckqQxtksD8mKCBkl5dGmAvjm+aZ5cKg="}]},"_npmUser":{"name":"rtemision","email":"rtemision@gmail.com"},"directories":{},"maintainers":[{"name":"rtemision","email":"rtemision@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/bvi_1.2.0_1759312833473_0.7714144164370207"},"_hasShrinkwrap":false}},"time":{"created":"2025-10-01T10:00:33.370Z","1.2.0":"2025-10-01T10:00:33.789Z","modified":"2025-10-01T10:00:34.141Z"},"maintainers":[{"name":"rtemision","email":"rtemision@gmail.com"}],"description":"Button visually impaired - is a plugin that automatically changes the visually impaired version of your site. The panel on the site for the visually impaired allows the color scheme of the site, font sizes, the synthesizer reads aloud settings changes. Th","homepage":"https://bvi.isvek.ru","keywords":["accessibility","accessible","bvi","Button visually impaired","visually impaired"],"repository":{"type":"git","url":"git+https://github.com/Atwinta/bvi.git"},"author":{"name":"Oleg Korotenko","email":"bvi@isvek.ru"},"bugs":{"url":"https://github.com/Atwinta/bvi"},"license":"MIT","readme":"# README\n\nКастомная версия: https://github.com/veks/button-visually-impaired-javascript\n\n[История изменений](CHANGELOG.md)\n\n# Button visually impaired\n\nButton visually impaired - is a plugin that automatically changes the visually impaired version of your site. The panel\non the site for the visually impaired allows the color scheme of the site, font sizes, the synthesizer reads aloud\nsettings changes. Thanks to it, you can use the functions of the site that meet the needs of people with disabilities.\n\n* Change the font size (up to 200%);\n* Change the color scheme of the site;\n* Change the font of the site (serif or sans serif);\n* Change the image (gray scale, hide the image);\n* Change letter spacing (kerning);\n* Change line spacing;\n* Automatically set Alt tag to all site images;\n* Speech synthesizer will read aloud changes to display settings;\n* Disable embedded elements (videos, maps, etc.);\n* Play text to voice;\n* Support for browsers Chrome, Firefox, Safari, Microsoft Edge, Opera;\n\n### Demo\n\nview demo version [here](https://bvi.isvek.ru/demo/).\n\n### NPM\n\n```\n$ npm install bvi\n```\n\n``` javascript\nimport bvi from \"bvi\"\n```\n### Browser Usage\n\nDownload the [latest package](https://github.com/veks/button-visually-impaired-javascript/archive/master.zip). unpack\nand inspect the contents. You need to copy the `bvi.min.js` and `bvi.min.css` or their minified variations to your app `dist`\nfolders as follows. Link the required CSS in your document `<head>` tag\n\n```html\n\n<link href=\"dist/css/bvi.min.css\" rel=\"stylesheet\">\n```\n\nLink the required JS in your document at the end of the pages, right before the closing `</body>` tag\n\n```html\n\n<script src=\"dist/js/bvi.min.js\"></script>\n```\n\nRun function with default settings\n\n```html\n\n<script>\n  new isvek.Bvi();\n</script>\n```\n\nRun function with your settings\n\n```html\n\n<script>\n  new isvek.Bvi({\n    target: '.className',\n    fontSize: 24,\n    theme: 'black'\n    //...etc\n  });\n</script>\n```\n\n### Html class\n\nArbitrary links\n\n```html\n<a href=\"#\" class=\"className\">version for visually impaired</a>\n```\n\nSpeech synthesis\n\n```html\n\n<div class=\"bvi-speech\">\n  Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's\n  standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a\n  type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining\n  essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum\n  passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.\n</div>\n```\n\nHide element\n\n```html\n\n<div class=\"bvi-hide\">The text will be hidden when the plugin is enabled.</div>\n```\n\nShow element\n\n```html\n\n<div class=\"bvi-show\">The text will be shown when the plugin is enabled.</div>\n```\n\nDisable styles div block\n\n```html\n\n<div class=\"bvi-no-styles\">Plugin styles will not be applied in this block.</div>\n```\n\n### Settings\n\nOption | Type | Default value| Value options | Description\n------ | ---- | ------- | -------------- | -----------\ntarget | string |  '.bvi-open' | '.className' | Plugin initialization class |\nfontSize | number |  16 | 1-39 | Font size  |\ntheme | string |  'white' |  (`white`&#124;`black`&#124;`blue`&#124;`brown`&#124;`green`) | Color spectrum |\nimages |(string&#124;boolean) | 'grayscale' |  (`true`&#124;`false`&#124;`grayscale`) | Adapting images |\nletterSpacing | string | 'normal' | (`normal`&#124;`average`&#124;`big`) | Letter spacing |\nlineHeight | string | 'normal' | (`normal`&#124;`average`&#124;`big`) | Line spacing |\nspeech | boolean | true | (`true`&#124;`false`) | Speech synthesis |\nfontFamily | string | 'arial' |  (`arial`&#124;`times`) | Fonts |\nbuiltElements | boolean | false | (`true`&#124;`false`) | Inline elements are a component of an HTML element that allows you to embed documents, videos, maps, and interactive media into a page.|\npanelFixed | boolean | true | (`true`&#124;`false`) | Fixing the panel for the visually impaired at the top of the page. |\npanelHide | boolean | false | (`true`&#124;`false`) | Hides the panel for the visually impaired and shows the panel icon. |\nreload | boolean | false | (`true`&#124;`false`) | Enable / Disable page reload when switching to the regular version of the site. |\nlang | string | 'ru-RU' | (`'ru-RU'`&#124;`'en-US')`| Language |\n\n### Changelog\n\n#### 1.0.0\n\n* new version created JavaScript\n\n### License\n\n[MIT License](https://github.com/veks/button-visually-impaired-javascript/blob/master/LICENSE.md)\n","readmeFilename":"README.md","_rev":"1-38b930abb56a69df42a76609041424fe"}