Parse duration
openflange/parse-durationv0.1.0
Converts human-readable durations ("2 days", "1.5h") to milliseconds using the npm package `ms`.
Reference it in one line
Name the pipe in a pipeline. A registry reference is resolved through an index file; the lockfile then pins exactly what you got.
nodes:
parse-duration:
pipe: openflange/parse-duration@0.1openflange inspect openflange/parse-duration
openflange resolveOr skip the registry and reference the source directly:
pipe: git:https://github.com/openflange/openflange-go#ce7146e85e81b5e88f1abb59bf503f511e162555:examples/npm-wrapperAvailable — v0.0.1 (experimental) The openflange CLI, release v0.0.1 (experimental):
go install github.com/openflange/openflange-go/cmd/openflange@v0.0.1Contract
This registry index does not include port details. The manifest linked under “Versions” is the authoritative contract: it lists every input, output and parameter.
- Identifier
openflange/parse-duration- Latest version
- 0.1.0
- Licence
- Apache-2.0 (chosen by the publisher)
- Languages
- JavaScript
- Runtimes needed
- Node.js, Subprocess
- Media types
application/x-ndjson- Keywords
- npm, node, javascript, duration, time, wrapper, example
Distribution
The registry points at the source; it does not host or copy it.
- Type
- Git
- Location
- https://github.com/openflange/openflange-go
- Path
examples/npm-wrapper
Versions
| Version | Published | Manifest | Revision | Integrity |
|---|---|---|---|---|
| 0.1.0 latest | 2026-12-03 | OPENFLANGE.md | ce7146e85e81… | sha256-69b265b93b1b… |
Each version links to an immutable manifest. The integrity value is a SHA-256 of that file; openflange run --locked refuses to run if it differs. Generated from registry commit 9fe025be6a79….