Transpiler that enables the ECMAScript bind operator (::) syntax, allowing functions to be called with a context object using a pipeline-style operator. Version 1.0.0, last updated in 2015. This package is an experimental implementation of a deprecated proposal and is not actively maintained. It transforms :: syntax into .call() or .bind() calls. Compared to alternatives like Babel's plugin, it is standalone and minimal, but lacks updates and broader ecosystem support.
npm install bind-operatorNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to use the bind-operator transpiler programmatically to transform a file containing :: syntax.
Use standard function methods (.call, .bind, .apply) or switch to Babel with @babel/plugin-proposal-bind-operator.
Consider using alternative transpilers like Babel or TypeScript with appropriate plugins.
Use bind-operator to transpile the code before running, or use a runtime that supports it.
No dependency data recorded yet.