@exploreimpact/n8n-utils
v0.1.27
Published
A JavaScript library to provide common utilities to n8n for usage in "code" nodes.
Maintainers
Readme
n8n-utils
A JavaScript library to provide common utilities to n8n for usage in "code" nodes.
Installation
npm install --save-dev @exploreimpact/n8n-utilsOr globally:
npm install -g @exploreimpact/n8n-utilsUsage
An example of how to use the utils:
const {
parseBool,
} = require('@exploreimpact/n8n-utils');
return items.map(item => ({
json: {
...item.json,
isWonderful: parseBool(item.json.wonderful),
},
}));Release flow
To release a new package version, bump the version inside the package.json. A GitHub workflow will automatically create a GitHub release and publish to npm.
