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 🙏

© 2024 – Pkg Stats / Ryan Hefner

agessa-calc

v0.9.4

Published

Deal with AGESSA

Downloads

14

Readme

agessa-calc

Deal with AGESSA

Installation

Via NPM

npm install --save agessa-calc

Via GitHub

npm install --save https://github.com/owintwist/agessa-calc

Utilisation

const agessa = require('agessa-calc')

API

Barème à Points

Le Barème des Œuvres de Commande en Publicité — aussi appelé Barème à Points — est le seul barème officiel de cession de droits d'utilisation pour les œuvres de commande en publicité. Il découle de la décision du 23 février 1987, publiée au Journal Officiel le 2 mai 1987. Ce barème est obligatoire.

agessa.commande.calcul ( bareme, volume [ , verbose ] )

return {  
  bareme: nom du barème  
  volume: volume  
  tranche: tranche  
  basePoints: points de base de la tranche  
  points: total des points  
  ajust: valeur
}

Calcul le nombre de points par bareme en fonction du volume

Number bareme :

  • 0 Presse et publications assimilées
  • 1 Affichages < 10m²
  • 2 Affichages > 10m²
  • 3 Publicité sur Lieu de Vente (PLV)
  • 4 Catalogues de Vente par Correspondance
  • 5 Posters, affichettes, objets publicitaires
  • 6 Autres catalogues, brochures et imprimés divers

ou

String bareme :

  • presse Presse et publications assimilées
  • affichette Affichages < 10m²
  • affiche Affichages > 10m²
  • plv Publicité sur Lieu de Vente (PLV)
  • vpc Catalogues de Vente par Correspondance
  • poster Posters, affichettes, objets publicitaires
  • divers Autres catalogues, brochures et imprimés divers

Number volume

Boolean verbose

Cotisations sociales

agessa.cotisations.calcul ( remunerationArtistique, annee )

return {
  auteur: {
    details: {
      secu: "montant de la Contribution Diffuseur",
      csg: "montant de la Contribution Sociale Généralisée",
      crds: "montant de la Contribution au Remboursement de la Dette Sociale",
      cafp: "montant de la Contribution de l'Auteur à la Formation Professionnelle"
    },
    total: "total des cotisations imputables à l'Auteur"
  },
  diffuseur: {
    details: {
      agessa: "montant de la Contribution diffuseur « 1% diffuseur »",
      cdfp: "montant de la Contribution du Diffuseur à la Formation Professionnelle"
    },
    total: "total des cotisations imputables au Diffuseur"
  }
}

Calcul les montants des Cotisations Sociales pour la remunerationArtistique avec les taux de l'annee.

Number remunerationArtistique

Number annee