batteries

Module that imports common nim standard library modules for your convenience

Pure Nim score 15/100 · tests present · no docs generated

Summary

Latest Version Unknown
License MIT
CI Status Failing
Downloads 0
Last Indexed 2026-07-21 05:25

Installation

nimble install batteries
choosenim install batteries
git clone https://github.com/AngelEzquerra/nim-batteries

OS Compatibility

Platform Linux macOS Windows FreeBSD OpenBSD NetBSD Android iOS WASM Embedded
batteries - - - - - - -

Source

Repository https://github.com/AngelEzquerra/nim-batteries
Homepage https://github.com/AngelEzquerra/nim-batteries
Registry Source nimble_official

README

nim-batteries

This is a nim module that imports commonly used standard library modules for your convenience:

  import batteries

is the same as:

  import std/[os, strutils, times, parseutils, hashes, tables, sets,
    sequtils, parseopt, strformat, sugar, options, strscans, algorithm,
    math]

This module is similar to the standard library prelude module. The differences with prelude are that this module should be imported (while prelude had to be included), and that it imports a few more modules than prelude. The list of imported modules might change in the future as nim evolves.

Importing this module never triggers a UnusedImport warning, even if you don't use any if the modules it imports.