The breaking change of version 8.0.0 requires a switch from
const level = require('level')
const db = level('db')
to
const { Level } = require('level')
const db = new Level('db')
The demo appears to still refer to 5.0.0. The outdatedness sparks Stack Overflow questions such as Error: "level is not a function" when using LevelDB.
The breaking change of version 8.0.0 requires a switch from
to
The demo appears to still refer to 5.0.0. The outdatedness sparks Stack Overflow questions such as Error: "level is not a function" when using LevelDB.