@apolitical/common-helpers-authors

Node.js module to format author details

Usage no npm install needed!

<script type="module">
  import apoliticalCommonHelpersAuthors from 'https://cdn.skypack.dev/@apolitical/common-helpers-authors';
</script>

README

Common Helpers- Authors

Node.js module to expose functionality to make changes relating to how user information is displayed on the website.

Current function

  • computeJobDescription
    • Takes user role, organisation and country as arguments and computers a sentence with the information.
    • Does formatting for when one or 2 of the information is missing