npm install skedify-uri-encoding
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 });
This repostiory uses TSDX for development.
Use npm run commit
when you want to commit a change.
This project uses GitHub actions and semantic-release for creating releases.
To make a (temporary) release candidate, push a new tag. The version in package.json
will be the same as the tagname without the v
prefix.
git tag v5.0.0-rc.1 && git push origin v5.0.0-rc.1
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.