Closed Pomax closed 4 years ago
The usage section currently reads:
Creating a Tree const tree = new RBush();
const tree = new RBush();
But it's not clear where RBush comes from. Is this a const RBush = require("rbush");? Or is it the older const rbush = require("rbush"); const RBush = rbush.RBush;? or....?
RBush
const RBush = require("rbush");
const rbush = require("rbush"); const RBush = rbush.RBush;
Can the readme be updated to include the missing, but crucial, loading code?
nice, thanks!
The usage section currently reads:
But it's not clear where
RBush
comes from. Is this aconst RBush = require("rbush");
? Or is it the olderconst rbush = require("rbush"); const RBush = rbush.RBush;
? or....?Can the readme be updated to include the missing, but crucial, loading code?