JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 21
  • Score
    100M100P100Q43767F
  • License MIT

Rollup plugin to add credits message on debug console

Package Exports

  • credits-log
  • credits-log/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (credits-log) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Credits-log | Vite / Rollup plugin

logotype

Add credits message in debug console to your FrontEnd project's. Showing credits and / or ASCII logotype.

Idea: Read attributes from your package.json file:

  • name: "" (Optional)
  • projectName: "Name of your project"
  • version: "0.0.1"
  • "author": "Anthony Sychev <hello at dm211 dot com> https://dm211.com | https://twooneone.xyz",
  • "author": ["Anthony Sychev <hello at dm211 dot com> https://dm211.com | https://twooneone.xyz", "..."],
  • "contributors": [ "name <email> (https://webpage)", ... ]
  • license: "MIT"
  • credits: []

and show it on debug panel.

Screenshot

Install

First install dependece you have two choices

  1. npm i credits-log -g for CLI tool
  2. npm i credits-log --save-dev for Vite / Rollup plugin

In your Vite or Rollup config file add import and use creditslog() function in plugins section like this:

import creditslog from "credits-log"

export default defineConfig({
    ...
    plugins: [
            ...
        creditslog()
        ...
    ],
    ...
});

Cli

For preview all help options run credits-log help

  • install: Interactive installation step by step.
  • uninstall: This option remove from your file next parameters: projectName, credits.
  • check: It's show result of your configuration.

In this sites you can create your custom ASCII logotypes

like this:

▀█▀ █░█░█ █▀█   █▀█ █▄░█ █▀▀   █▀█ █▄░█ █▀▀
░█░ ▀▄▀▄▀ █▄█   █▄█ █░▀█ ██▄   █▄█ █░▀█ ██▄
            -@@@:       =%@@%+                 
            @@@#      =@@@@@@+                
            -@@@#     :@@@@@@-                
             -@@@@+.    =++=.                 
               +@@@@@#+++++++=-.              
                 -*%@@@@@@@@@@@@#:            
                    -@@@@@@@@@@@@%            
                    -@@@@@@@@@%%@#            
                    -@@@@@@@@@*@@:            
                    -@@@@@@@@#%@#             
                    -@@@@@@@@*@@:             
                    -@@@@@@@@##*              
                    -@@@****@@@=              
                    -@@@:  .@@@=              
                    -@@@:  .@@@=              
                    -@@@:  .@@@=              
                    -@@@:  .@@@=              
                    -@@@:  .@@@=   
                    
            Thank you for use [CREDITS-LOG]211

DOCS

Rollup.js:

NPM Publish

NPM publish command: npm publish --access=public ./