npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

configuration_project_jordimr

v1.0.0

Published

https://www.digitalocean.com/community/tutorials/typescript-new-project npm i typescript --save-dev npx tsc --init

Downloads

4

Readme

https://www.digitalocean.com/community/tutorials/typescript-new-project

-How to install typescript version locally npm init -y

npm i [email protected] --save-dev

npx tsc -v

npx tsc --init

npm install eslint --save-dev

You have three options ./node_modules/.bin/eslint --init---linux node_modules.bin\eslint --init npm init @eslint/config

-Versionado Semántico y package-lock.json https://rubensa.wordpress.com/2019/11/27/pero-que-demonios-es-package-lock-json/

https://www.digitalocean.com/community/tutorials/linting-and-formatting-with-eslint-in-vs-code

-Ctrol + shift + p -- edit settings.json file for LF "files.eol": "\n", "editor.codeActionsOnSave": { "source.fixAll.eslint": true }, "eslint.validate": ["javascript","typescript", "typescriptreact"]

  • en el fichero package.json, crear el script: "dev": "tsc --watch"

"scripts": { "test": "echo "Error: no test specified" && exit 1", "dev": "tsc --watch" },

-Ejecutarlo en un terminal para que transpile todos los ficheros typescript. npm run dev Después sólo tendremos que ejecutar este comando: node dist/Employee.js

-Instalación npm install tsc node dist/Employee.js

private keywords https://kendaleiv.com/typescript-constructor-assignment-public-and-private-keywords/

Plan de pensiones 2022 https://www.tuproyectodevida.es/cambios-planes-de-pensiones/

Plan de pensiones persona física, máximo desgravable: 1500 Plan de pensiones empresa, máximo desgravable: 8500

Los tramos para 2022 son: ​Hasta 12.450 euros: 19% De 12.450 euros hasta 20.200 euros: 24% De 20.200 euros hasta 35.200 euros: 30% De 35.200 euros hasta 60.000 euros: 37% De 60.000 euros hasta 300.000 euros: 45% De rentas superiores a 300.000 euros: 47%

Exercici pla de pensions

Quin pla de pensions vols realitzar? 1.Pla de pensions persona física 2.Pla de pensions empresarial 3.Tots dos

-Quins han sigut els teus ingresos d'aquest any? -Aportació del pla de pensions de persona física? -Aportació del pla de pensions empresarial?

https://zellwk.com/blog/publish-to-npm/ import * as readline from 'readline'; //npm install @types/node

-Exercise 6 Agregar 6 acciones con los siguientes campos:

Nombre Unidades Apertura Invertido GananciasPerdidasDolares GananciasPerdidasPorcentaje Valor

Teniendo en cuenta que un usuario empieza con 100000 $, para poder invertir, calcular los siguientes campos:

Disponible Capital Invertido Beneficio Capital Virtual

Exception Handling https://basarat.gitbook.io/typescript/type-system/exceptions