Skedify URI-Encoding
Release:
Development:
Installation
npm install skedify-uri-encoding
Usage
With ES Modules:
import { encodeURIParameters, decodeURIParameters } from 'skedify-uri-encoding';
const encoded = encodeURIParameters({ attribute: 'value' });
console.log({ encoded });
const decoded = decodeURIParameters(encoded);
console.log({ decoded });
With CommonJS:
const { encodeURIParameters, decodeURIParameters } = require('skedify-uri-encoding');
const encoded = encodeURIParameters({ attribute: 'value' });
console.log({ encoded });
const decoded = decodeURIParameters(encoded);
console.log({ decoded });
Stack
This repostiory uses TSDX for development.
Contributing
Use npm run commit
when you want to commit a change.
Releases
This project uses GitHub actions
and semantic-release for creating releases.
Release Candidates
To make a (temporary) release candidate, you can use the following commands:
npm run release-candidate
or
npm run release-candidate -- feature/SKED-XXXX
That command will make a new rc
branch (locally and remotely) on which semantic-release
is configured
to create a new release candidate (see .releaserc
).
Final Releases
Since semantic-release
is currently configured to run on any push
'es to master
,
creating and merging a GitHub Pull Request into master
will trigger a new release automatically.
Typically we do this via a temporary release/next
or release/SKED-XXXX
branch and creating a PR via GitHub UI.