{"id":52213,"library":"dgraph-io-badger-v4","title":"BadgerDB","description":"Badger is an embeddable, fast, and simple key-value database written in pure Go.","status":"active","version":"4.9.2","language":"go","source_language":null,"source_url":"https://github.com/dgraph-io/badger","tags":["key-value","database","embedded","storage"],"install":[{"cmd":"go get github.com/dgraph-io/badger/v4","lang":"bash","label":"Install github.com/dgraph-io/badger/v4"}],"dependencies":[],"imports":[{"symbol":"badger","correct":"github.com/dgraph-io/badger/v4"}],"quickstart":{"code":"import \"github.com/dgraph-io/badger/v4\"\n\ndb, err := badger.Open(badger.DefaultOptions(\"/tmp/badger\"))\nif err != nil {\n    log.Fatal(err)\n}\ndefer db.Close()","lang":"go","description":"Open a Badger database at the specified directory."},"warnings":[{"fix":"Migrate data from v3 using the provided migration tool before upgrading.","message":"Badger v4 uses a new on-disk format incompatible with v3.","severity":"breaking","affected_versions":">=4.0.0"}],"env_vars":null,"search_vec":"'badger':2 'badgerdb':1 'databas':12,20 'embed':21 'embedd':5 'fast':6 'go':16 'key':10,18 'key-valu':9,17 'pure':15 'simpl':8 'storag':22 'valu':11,19 'written':13","created_at":"2026-06-15T06:45:36.793542+00:00","updated_at":"2026-06-15T06:45:36.793542+00:00","problems":[],"ecosystem":"go","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/dgraph-io/badger","github":"https://github.com/dgraph-io/badger","docs":"https://pkg.go.dev/github.com/dgraph-io/badger/v4#section-documentation","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["database"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-15","next_check":"2026-12-12","install_tag":null}}