score:0

Accepted answer

When you require you could do:

d3.tip = require("file").tip;

Related Query