<p align="center">
    <a href="https://mathjslab.com/" target="_blank" rel="noopener"><img src="https://mathjslab.com/images/mathjslab-logo.svg" alt="logo" width="200" height="200" /></a>
</p>

# [MathJSLab](https://mathjslab.com/) - [mathjslab.com](https://mathjslab.com/)

[![Estado Netlify](https://api.netlify.com/api/v1/badges/6cec5ea5-c2dd-4b90-a3c1-ff95c8d1f521/deploy-status)](https://app.netlify.com/sites/mathjslab-app/deploys)
[![CircleCI](https://dl.circleci.com/status-badge/img/gh/MathJSLab/mathjslab-app/tree/main.svg?style=svg)](https://dl.circleci.com/status-badge/redirect/gh/MathJSLab/mathjslab-app/tree/main)
[![Website](https://img.shields.io/website?url=https%3A%2F%2Fmathjslab.com%2F)](https://mathjslab.com/)
[![Creado en GitHub en](https://img.shields.io/github/created-at/MathJSLab/mathjslab-app)](https://github.com/MathJSLab/mathjslab-app)
[![Licencia MIT](https://img.shields.io/badge/License-MIT-brightgreen.svg)](https://github.com/MathJSLab/mathjslab-app/blob/main/LICENSE)
[![DOI](https://img.shields.io/badge/DOI-10.5281%2Fzenodo.8396263-blue?style=flat&link=https://doi.org/10.5281/zenodo.8396263)](https://doi.org/10.5281/zenodo.8396263)
[![ISBN](https://img.shields.io/badge/ISBN-978--65--00--84828--1-green?style=flat&link=https://grp.isbn-international.org/search/piid_solr?keys=978-65-00-84828-1)](https://grp.isbn-international.org/search/piid_solr?keys=978-65-00-84828-1)
[![OpenAIRE](https://img.shields.io/badge/OpenAIRE-blue?style=flat&link=https://explore.openaire.eu/search/advanced/research-outcomes?f0=q&fv0=MathJSLab)](https://explore.openaire.eu/search/advanced/research-outcomes?f0=q&fv0=MathJSLab)
[![Acceso a través de jsDelivr](https://img.shields.io/jsdelivr/gh/hy/MathJSLab/mathjslab-app)](https://cdn.jsdelivr.net/gh/MathJSLab/mathjslab-app/)

> Un
> [intérprete](<https://es.wikipedia.org/wiki/Int%C3%A9rprete_(inform%C3%A1tica)>)
> con sintaxis de lenguaje como
> [MATLAB&reg;](https://www.mathworks.com/)/[Octave](https://www.gnu.org/software/octave/)
> escrito en [TypeScript](https://www.typescriptlang.org/).

**[ISBN 978-65-00-84828-1](https://grp.isbn-international.org/search/piid_solr?keys=978-65-00-84828-1)**

Esta es una aplicación de demostración del
[paquete npm](https://es.wikipedia.org/wiki/Npm)
[MathJSLab](https://www.npmjs.com/package/mathjslab). Vea esta demostración en
la página del proyecto en [mathjslab.com](https://mathjslab.com/). El
repositorio está en la [Organización MathJSLab](https://github.com/MathJSLab)
en [GitHub](https://github.com/).

**Aviso Importante:** Este software, **[MathJSLab](https://mathjslab.com/), no
está afiliado, patrocinado ni respaldado por
[The MathWorks, Inc.](https://www.mathworks.com/)**
[MATLAB&reg;](https://www.mathworks.com/products/matlab.html) es una marca
registrada de [The MathWorks, Inc.](https://www.mathworks.com/) Para más
información sobre [MATLAB](https://www.mathworks.com/products/matlab.html),
visita [www.mathworks.com](https://www.mathworks.com).

Esta [aplicación](https://es.wikipedia.org/wiki/Aplicaci%C3%B3n_web),
desarrollada como una
[Aplicación Web Progresiva (PWA)](https://es.wikipedia.org/wiki/Aplicaci%C3%B3n_web_progresiva),
demuestra las capacidades del paquete
[MathJSLab](https://www.npmjs.com/package/mathjslab) en un entorno moderno e
interactivo. La interfaz de la
[aplicación](https://es.wikipedia.org/wiki/Aplicaci%C3%B3n_web) está
estructurada con
[Web Components](https://developer.mozilla.org/es/docs/Web/API/Web_components),
asegurando modularidad, encapsulación y reutilización eficiente de elementos
visuales, lo que facilita el mantenimiento y escalabilidad del proyecto.
Además, la [aplicación](https://es.wikipedia.org/wiki/Aplicaci%C3%B3n_web)
adopta un
[diseño responsivo](https://es.wikipedia.org/wiki/Dise%C3%B1o_web_adaptable),
proporcionando una experiencia consistente, independientemente del dispositivo
que se utilice, permitiendo que se adapte a diferentes tamaños de pantalla sin
comprometer la usabilidad.

La lógica de la [aplicación](https://es.wikipedia.org/wiki/Aplicaci%C3%B3n_web)
está escrita en [TypeScript](https://www.typescriptlang.org/), asegurando una
tipificación uniforme y estandarizada en todas las partes del código. La
[estilización](https://www.w3.org/TR/css/) se organiza a través de plantillas
[SASS](https://sass-lang.com/), con definiciones de forma más racionalizada y
modular, facilitando la personalización, el mantenimiento y la reutilización
del código.

Esta aplicación de demostración también utiliza:

- [Marked](https://www.npmjs.com/package/marked) para formatear archivos
  [Markdown](https://www.markdownguide.org/) como
  [HTML](https://developer.mozilla.org/es/docs/Web/HTML).
- [Plotly.js](https://plotly.com/javascript/) para generar gráficos,
  histogramas e gráficos 3D.
- [Mermaid](https://mermaid.js.org/) para generar grafos y diagramas.

## Descargas del [paquete `mathjslab` desde el registro `npm`](https://www.npmjs.com/package/mathjslab) y [accesos a través del CDN `jsdelivr`](https://www.jsdelivr.com/package/npm/mathjslab)

[![NPM Downloads](https://img.shields.io/npm/d18m/mathjslab)](https://www.npmjs.com/package/mathjslab)
[![jsDelivr hits (npm)](https://img.shields.io/jsdelivr/npm/hy/mathjslab)](https://www.jsdelivr.com/package/npm/mathjslab)

## Contribuyendo

Para contribuir a este proyecto, consulte nuestras
[pautas de contribución](https://github.com/MathJSLab/mathjslab-app/blob/main/CONTRIBUTING.md).

Únase al chat de la comunidad:

[![Únase al chat en https://matrix.to/#/#mathjslab:gitter.im](https://badges.gitter.im/Join%20Chat.svg)](https://matrix.to/#/#mathjslab:gitter.im?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)

## Scripts de compilación

Se definen los siguientes scripts de compilación:

1. **Antes de compilar** `mathjslab-app`, para **iniciar** el área de trabajo
   del proyecto, ejecute:

```bash
npm run update
```

2. Para **formatear** y aplicar la **herramienta lint** al código
   `mathjslab-app`, ejecute:

```bash
npm run format:lint
```

3. **Compile** `mathjslab-app` en **modo de desarrollo** usando:

```bash
npm run build:dev
```

4. **Compile** `mathjslab-app` en **modo de depuración** usando:

```bash
npm run build:debug
```

5. **Compile** `mathjslab-app` en **modo de producción** usando:

```bash
npm run build:prod
```

6. Para **eliminar** todos los archivos de compilación en el área de trabajo,
   use:

```bash
npm run clean
```

7. Para **eliminar también todas las dependencias**, en el archivo
   `package-lock.json` y en el directorio `node_modules`, use:

```bash
npm run clean:all
```

Después de ejecutar este comando, deberá configurar el área de trabajo
ejecutando `npm run update` nuevamente.

## Comunidad

Únase al chat de la comunidad:

[![Únase al chat en https://matrix.to/#/#mathjslab:gitter.im](https://badges.gitter.im/Join%20Chat.svg)](https://matrix.to/#/#mathjslab:gitter.im?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)

## Notas sobre Marcas Registradas

- [MATLAB&reg;](https://www.mathworks.com/products/matlab.html) es una marca
  registrada de [The MathWorks, Inc.](https://www.mathworks.com/)
- [MathJSLab](https://mathjslab.com/) no está afiliado, patrocinado ni
  respaldado por [The MathWorks, Inc.](https://www.mathworks.com/)

## Licencia

> [MIT License](https://opensource.org/license/mit)
>
> Copyright &copy; 2016-2024 [Sergio Lindau](mailto:sergiolindau@gmail.com),
> [mathjslab.com](https://mathjslab.com/),
> [ISBN 978-65-00-84828-1](https://grp.isbn-international.org/search/piid_solr?keys=978-65-00-84828-1)
>
> Permission is hereby granted, free of charge, to any person obtaining a copy
> of this software and associated documentation files (the "Software"), to deal
> in the Software without restriction, including without limitation the rights
> to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
> copies of the Software, and to permit persons to whom the Software is
> furnished to do so, subject to the following conditions:
>
> The above copyright notice and this permission notice shall be included in
> all copies or substantial portions of the Software.
>
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
> IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
> FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
> AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
> LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
> OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
> SOFTWARE.
