![Maven Central Adds Sigstore Signature Validation](https://cdn.sanity.io/images/cgdhsj6q/production/7da3bc8a946cfb5df15d7fcf49767faedc72b483-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Maven Central Adds Sigstore Signature Validation
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
accounting-system
Advanced tools
Este sistema contable es muy espesifico y es para un uso basico, esta es la base para aplicaciones contables o cualquier aplicación que necesite un sistema de contabilidad basico.
Este sistema contable es muy espesifico y es para un uso basico, esta es la base para aplicaciones contables o cualquier aplicación que necesite un sistema de contabilidad basico.
Para iniciar el servicio es muy sencillo, cabe aclarar que todo esto se guarda en la memoria ram, eso quiere decir que si quieres guardar necesitas conectar una base de datos.
Para iniciar todo el servicio contable es solo llamar el paquete de esta forma:
const accounting = require('accounting-system');
const admin = new accounting();
El sistema de contabilidad tiene el servicio de agregar y remover productos, o sino comprar y vender productos es decir: Si por ejemplo tu aplicación necesita tener un registro de compras y ventas, tienes 2 funciones. Por otro lado si solo necesitas agregar y remover productos para la venta o otros medios, puedes usar las otras 2 funciones.
const accounting = require('accounting-system');
const admin = new accounting();
// AÑADIR PRODUCTOS SIN DEJAR REGISTRO DE COMPRA EN TU CREDITO ENCADENADO.
// CABE ACLARAR QUE EL CREDITO ENCADENADO ES EL CREDITO QUE TIENES A DISPOSICIÓN PARA GASTOS O VENTAS.
admin.addProduct({
name: "example product",
price: 1200,
amount: 10
})
// REMOVER PRODUCTOS SIN DEJAR REGISTRO DE GASTOS EN TU CREDITO ENCADENADO
admin.removeProduct('example product');
// AÑADIR PRODUCTOS DEJANDO REGISTRO DE COMPRA.
// PROPS: NAME, AMOUNT, PRICE
admin.buyProduct('example product', 10, 1200);
// REMOVER PRODUCTOS DEJANDO REGISTRO DE VENTA.
// PROPS: NAME, AMOUNT
admin.sellProduct('example product', 10);
Puedes ver los eventos y registros desde el constructor principal
const accounting = require('accounting-system');
const admin = new accounting();
admin.logs
admin.on('event', (e) => {
console.log(e);
})
FAQs
Este sistema contable es muy espesifico y es para un uso basico, esta es la base para aplicaciones contables o cualquier aplicación que necesite un sistema de contabilidad basico.
The npm package accounting-system receives a total of 0 weekly downloads. As such, accounting-system popularity was classified as not popular.
We found that accounting-system demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
Security News
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
Research
Security News
Socket researchers uncovered a backdoored typosquat of BoltDB in the Go ecosystem, exploiting Go Module Proxy caching to persist undetected for years.