Catalog npm
Back to packageRELEASE DETAILS

0.0.1

npm

1nuage2mots

a modern SEO friendly tag or word cloud

animatedcloudseotagwordword cloud
Published13 Jul 2022
Direct dependencies0
Transitive dependenciesNot calculated

README

Current package documentation

1nuage2mots

Online Demo

Usage :

For examples, see demo source code.

Recommanded : node.js.

In your project root, in cli :

npm install --save-dev 1nuage2mots

In your html when you want insert a word-cloud 1nuage2mots :


<div class="_1nuage2mots">
    <div tag-value="5">Lorem</div>
    <div tag-value="1">Ipsum</div>
</div>

<link rel="stylesheet" href="../PATH_TO/node_modules/1nuage2mots/1nuage2mots.css"/>
<script src="../PATH_TO/node_modules/1nuage2mots/1nuage2mots.js"></script>

alternative :

  • for css in stylus : @import "1nuage2mots/*"
  • for js : import _1nuage2mots from "/node_modules/1nuage2mots/1nuage2mots.mjs";

Options :

You can use xml attribute on <div class="_1nuage2mots"> to customize 1nuage2mots behavior.

  • tag-size-min : default 15 (px)
  • tag-size-max : default 45 (px)
  • tag-size-unit : default px
  • tag-size-pow : default "auto". Advanced parameter to customize the pow function to compute the size curve between the biggest and the smallest tag.
  • tag-opacity-min : default 1. The opacity for tag-value="0" (0 = 0%, 1 = 100%)
  • tag-opacity-max : default 1. The opacity for the bigest tag-value (0 = 0%, 1 = 100%)
  • tag-opacity-pow : default "auto". Power function (like tag-size-pow) for opacity curve between the most and the less visible tag
  • tag-chaos : default 5. Advanced parameter to avoid similar consecutive tags. Increasing it may slow down (it's the max chaos render step)
  • tag-show : default "1by1". How will the word cloud show : instant, 1by1, by value group
  • tag-show-start : default "first time on screen". When the show animation start : (first/every) time (the page load/in screen or in view)
  • tag-show-interval : default 1 (second). Time between 2 show step.
  • tag-flash : default "no". If activated, each word will flash every x secondes periodically to get attention. Flash mode : none, glow, zoom/scale/bounce
  • tag-flash-interval : default 3 (second). Time between 2 flash. You can use decimal (ex 0.5). Each flash last 2 second. Use CSS to overwrite duration.

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Declared dependencies 0

Native requirements
0 direct targetsNot calculated transitive count
No declared dependencies in this collected response

Declarations describe requirements; they are not a resolved dependency graph.

Distribution files

1 collected
Distribution 1

Source distribution

Source file
Checksums from source
{
  "integrity": "sha512-F6x2u1OuDOz7wIXPd16merHONTD14JBSxNSvAD20iPVRJVp1B5Zj87jOFK7dzs/Z2K3/iFrMAarKG1zYJ/UVGA==",
  "shasum": "740a22afe6e30c7d04b91fadff7d6fc895bfaa14",
  "tarball": "https://registry.npmjs.org/1nuage2mots/-/1nuage2mots-0.0.1.tgz",
  "fileCount": 5,
  "unpackedSize": 23712,
  "signatures": [
    {
      "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
      "sig": "MEYCIQCHkjpWejbInyrxNDAzIqhwPgSPlBEOCvqDZJkI865tTwIhAM2cm0vBBtY6kn3Yifk2UpeAS4VN1qeLfCSYLGv/SzD7"
    }
  ],
  "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiznAlACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqysBAAhhMMaP0PdJOB+o4UkkcdNo3dxWS0d02lCZgSPdO/0Fyy5ziU\r\nxtGXO8KE2mRLW7+OZm68SwCcWzjemXHpT4dN6FZghd2GqgDGQmGHmtdxkytm\r\nwv/RYLtYzdx4RSX2S9dmLRy/s0S0LHRBrZoupG10uVcsmdrwwJcyezgIJc3h\r\nJfGnU9DmSeHkpcPo4x4l3WoNrij6RSopBBXMT0as4ogGX/8ioF9FhXvtGiCv\r\nHCC05yr5vx8VY2NuNL7nOvC3mSaBxCBdznYuv7dgKu4NGO18EBaqdyM11gra\r\n7YioBqO9zY2qt7JKTh663ppF7ho7BD2/1uATU1Go4JPYqP3wzN2lShRink7k\r\nJ1wQpY0vcRDJwusGjAAWeH5f6Kz7vgBZyGz9cGVdsvuJaJLoszp+PcSrTe1t\r\nSImQrX9pi2vBI2pH9o1QknQxDSAqI0/z+gWh0guI3LrMX/Z1/eiSfYFFkFSh\r\nG2N3gGW2TEJmNHrWsO8I8z8KPkZ8wbOLfhNzWhQvLO19RTJzyZjR5OnPlJ9n\r\nfS4lSYyy0r24chinD6N6lw8QPG2FengCGa3Vs8Lok55DEX9jv1rblIlsfIwA\r\nEY3P05PfFNLhUIhsxi5/WaaJYJu9xq1/emWWv1YM/5rUdJehTuzco759s51Q\r\n8n+9oZwxq5wbtHKWR8vTPoUaGzvEfIOm5bg=\r\n=bk3a\r\n-----END PGP SIGNATURE-----\r\n"
}

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 18:34 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package_version:796fbb78f8a72fc7868ef7ac68496de66ee3ef0a0863cb1b8958e930293a78b1

Other collected versions

0.2.013 Aug0.0.214 JulView all collected versions →