@magic-client library.
@magic-libraries/replace-slash-slash replaces //
in strings with /
.
npm install --save-exact @magic-libraries/replace-slash-slash
in a page/component, just use the lib.replaceSlashSlash function
lib.replaceSlashSlash('//path/into//page//')
// '/path/into/page/'
the source for this page is in the example directory and gets built and published to github using @magic/core
first release
update dependencies