@duinneacha/npmtest

Removes all spaces from a string

Usage no npm install needed!

<script type="module">
  import duinneachaNpmtest from 'https://cdn.skypack.dev/@duinneacha/npmtest';
</script>

README

NPM Test

This is a test to link npm with github

The program accepts a string and removes spaces within

Install

$ npm install @duinneacha/npmtest

Usage

const ad1 = require("@duinneacha/npmtest");

ad1("This is a test to remove spaces!"); //=> "Thisisatesttoremovespaces!"

ad1(1337); //=> Uncaught TypeError: This test expects a string! // at npmtest (:2:41) // at :1:1