
Security News
Package Maintainers Call for Improvements to GitHub’s New npm Security Plan
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
@yandex/tex-renderer
Advanced tools
png
и svg
svgo
и pngquant
GET /process
- рендерит и возращает картинку:
tex
- TeX который необходимо отрендерить, (не забудьте заэкндить строку)[format=^svg|png]
- формат изображения, по умолчанию svg. Принимает как массив, так и параметр в виде строки.[ex_size=7.265625]
- размер одного ex в пикселях, влияет на размер получаемого изображенияinline
- булевый параметр, определяющий как отрисовывать формулу - inline-TeX
или TeX
. inline-TeX
предназначен для тех случаев, когда формула встраивается в текстовое содержимое.В случае если был передан один формат данных возвращается файл соответствующего типа.
Если было переданно несколько форматов, то возвращается json
следующего вида:
{
'<format>': '<data>'
}
В случае ошибки:
{
"error": "Error string"
}
\\sqrt{\\frac{5}{3x - 58}} = \\frac{1}{10} \\Rightarrow \\frac{5}{3x - 58} = \\left( \\frac{1}{10} \\right)^{2} \\Rightarrow \\frac{5}{3x - 58} = \\frac{1}{100} \\Rightarrow 3x - 58 = 500 \\Rightarrow 3x = 558 \\Rightarrow x = 186
E=mc^{2}
FAQs
Микросервис для рендеринга tex-формул в изображения
The npm package @yandex/tex-renderer receives a total of 0 weekly downloads. As such, @yandex/tex-renderer popularity was classified as not popular.
We found that @yandex/tex-renderer demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 7 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
Product
Socket Firewall is a free tool that blocks malicious packages at install time, giving developers proactive protection against rising supply chain attacks.
Research
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.