单文件程序库2

Packages

htmk edited this page 5 days ago ·  253 revisions

 Pages 3

  • Home
  • Explanation of package.json
  • Packages
Clone this wiki locally
 Clone in Desktop

List of available packages. This page is mined to populate clib-search(1).

String manipulation

  • clibs/buffer - tiny c-string library
  • nami-doc/trim.c - trim a string, in place
  • nami-doc/strlen.c - get a string's length
  • jwerle/strsplit.h - Split a string into a char array by a given delimiter
  • jwerle/chfreq.c - Compute character frequency in a string
  • hkjels/slug.c - Create slug from a given string.
  • stephenmathieson/case.c - string case conversion
  • stephenmathieson/occurrences.c - Count occurrences in a string
  • stephenmathieson/path-join.c - join a path
  • stephenmathieson/path-normalize.c - normalize a path
  • jb55/extname.c - get the extension of a file from a path
  • stephenmathieson/rot13.c - Simple ROT13
  • stephenmathieson/str-ends-with.c - Check if a string ends with another string
  • stephenmathieson/str-flatten.c - Flatten a char array
  • stephenmathieson/str-replace.c - string replacement
  • stephenmathieson/str-starts-with.c - Check if a string starts with another string
  • stephenmathieson/substr.c - Get a substring of a string
  • stephenmathieson/trim.c - string trim with left and right support
  • dhobsd/vstring - A simple string building API for C
  • chrisdew/sds - Antirez's Simple Dynamic Strings library
  • michaelrhodes/path-basename.c - Find the last portion of a path. Similar to Node’s path.basename method.
  • movesmyers/str-truncate.c - Simple string truncation
  • clibs/wildcardcmp - Simple wildcard string comparison for C
  • littlstar/asprintf.c - asprintf() implementation
  • clibs/strndup - Safe implementation of strndup
  • clibs/strdup - Safe implementation of strdup
  • mattn/wcwidth - Determine columns needed for a wide character
  • TingPing/ustring - Utils for safely handling utf8 strings.
  • movesmyers/char-indices.c - Get an array of indices where a character exists in a string
  • wooorm/stmr.c - Porter Stemmer algorithm
  • gioyik/buffer-libc - Buffer C lib
  • littlstar/trim.cc - C++ std::string trim util
  • wooorm/levenshtein.c - Levenshtein’s string edit distance algorithm

Utilities

  • clibs/rgba - rgba color string parser
  • clibs/unlikely - gcc branch prediction macros
  • clibs/commander - expressive argument parser
  • clibs/flag - Go style flag parsing
  • clibs/ms - millisecond parser / formatter util
  • clibs/bytes - byte-length parser / formatter util
  • clibs/term - terminal utilities
  • clibs/inih - INI parser
  • jb55/rotate-bits.h - bitwise rotations
  • jwerle/url.h - Parse URLs in C much like Node's url module.
  • doches/progressbar - A library for displaying command-line progress bars
  • jwerle/progress.h - Progress display lib for c
  • jwerle/repl.h - Create a repl with eval/print/error hooks with given stdin, stdout, and stderr streams
  • jwerle/getch.c - getch() implementation
  • jwerle/usleep.h - usleep implementation using poll() or select()
  • jwerle/libbacon - A C implementation of the Baconian Cipher ! BACON
  • jwerle/libbeaufort - A C implementation of the Beaufort Cipher
  • stephenmathieson/is-email.c - Loosely validate an email address
  • thlorenz/gumbo-parser.c - HTML5 parser
  • thlorenz/log.h - Minimal yet colorful logging lib
  • sciascid/tree - convenient wrapper around BSD sys/tree.h.
  • clehner/chains - Markov chains
  • Constellation/console-colors.c - Write formatted string to console with colors
  • stephenmathieson/expand-braces.c - Simple shell-like brace expansion
  • stephenmathieson/wiki-registry.c - Turn a GitHub wiki page into a package registry
  • xythobuz/serial - POSIX serial port interface with optional flow control support.
  • lukedeo/cmd-parser - A Lightweight, header-only commandline parser
  • clibs/mt19937ar - Mersenne Twister random number generator
  • willemt/config-re - Data structure allows your program to be configured
  • brendanashworth/genpassword.c - Random password generating library
  • clibs/dumpasn1 - Displays contents of ASN.1 encoded data
  • orangeduck/LuaAutoC - Automagically use C Functions and Structs with the Lua API
  • Gioyik/color-sh - Display colors on your terminal
  • Gioyik/c_printf - Color C lib for printf
  • Gioyik/slim_color - Ultra simple C lib to output color
  • nsf/termbox - Powerful but simple library for writing text-based user interfaces
  • noporpoise/sort_r - Portable re-entrant qsort (qsort_r / qsort_s)
  • kdmurray91/clogged - Configurable and pretty logging library
  • isty001/mem-pool - Fix member sized, growing memory pool
  • daddinuz/liblogger - An advanced logging library written in ANSI C

Data structure

  • yrmt/ArrayList - doubly linked list based on BSD TAILQ
  • clibs/hash - hash library built on zhash
  • clibs/list - simple doubly linked list
  • clibs/red-black-tree - Generic red-black tree library (by Julienne Walker).
  • thlorenz/sync-stream.c - synchronous stream implementation
  • troydhanson/uthash - C macros for hash tables and more
  • willemt/cbuffer - circular buffer
  • willemt/bipbuffer - circular buffer alternative
  • willemt/heap - heap priority queue
  • willemt/pseudolru - pseudo least recently used cache
  • willemt/bag - data structure which only has put and randomised take operations
  • willemt/bitfield - easily get and set bits in a bitfield
  • willemt/array-avl-tree - self balancing tree
  • willemt/linked-list-hashmap - hashmap that uses linked lists for managing collisions
  • willemt/quadratic-probing-hashmap - hashmap that uses quadratic probing (open addressing) for managing collisions
  • rxi/vec - dynamic array
  • jlcordeiro/cmap - map with string keys
  • willemt/skiplist - Dictionary implemented through a skiplist
  • willemt/linked-list-queue - Queue using a linked list
  • willemt/meanqueue - An integer queue that calculates mean in O(1)
  • willemt/chunkybar - Data structure that efficiently represents multi-piece progress bars
  • willemt/farraylist - An arraylist that doesn't shift items so you can have "holes" between slots
  • jonathanmarvens/hopscotch - A generic concurrent skip list library.
  • mbucc/cqueue - OpenBSD's queue(3): linked lists and queues.
  • clibs/lmdb - Symas Lightning Memory-Mapped Database (LMDB)
  • willemt/arrayqueue - Queue implemented using an array
  • AjayMT/dict.c - Simple dictionary implemented through a linked list
  • AjayMT/list.c - Simple linked list
  • skeeto/lstack - A lock-free stack using C11's new stdatomic.h features
  • clehner/ll.c - Transparent linked lists
  • kellydunn/libkld - Personal implementations of common datastructures. (List, Vector, Graph, Matrix, Tree, etc)
  • willemt/duraqueue - Queue built to be durable under failure
  • Gioyik/mapc - C lib for mapping
  • neylsongularte/simple-linked-list-c - Linked list implementation
  • htmk/Fat-Array - Dynamic arbitrary typed array using fat pointers and macros.

Parsing

  • clibs/logfmt - fast logfmt parser.
  • clibs/jsmn - JSON parser.
  • orangeduck/mpc - Parser Combinator Library for C
  • willemt/torrent-reader - Read torrent files
  • mbucc/js0n - Parse JSON.
  • jb55/field-range-parser.c - Parse field ranges (like cut)
  • jb55/querystring.c - Querystring parser
  • brendanashworth/http-parser - http request/response parser for c
  • h2non/semver.c - Semver 2.0 parser and render written in ANSI C

Encoding/Decoding

  • clibs/rle - Run-length encoding
  • clibs/snappy - Snappy codec
  • littlstar/uri.c - URI Component encoder/decoder
  • mbucc/chtmlescape - HTML escape the characters '<', '>', '&', and '"'
  • littlstar/b64.c - Base64 encode/decode
  • jwerle/libutf8 - A whatwg compliant UTF8 encoding and decoding library
  • willemt/bitstream - Let me write out bits to a stream
  • willemt/fe - Flip the endianess of integers
  • mikepb/endian.h - Portable endian conversion functions for C
  • mattn/locale-string - Convert between locale string and utf-8 string
  • georgy7/zlib - A massively spiffy yet delicately unobtrusive compression library.
  • lemire/simdcomp - A simple C library for compressing lists of integers
  • powturbo/TurboPFor - Fastest Integer Compression + Direct Access w/o decompression
  • pepaslabs/hexify.c - Convert binary data into a hexidecimal string

Filesystem

  • jwerle/fs.c - File system API much like Node's fs module
  • stephenmathieson/mkdirp.c - mkdir -p
  • stephenmathieson/rimraf.c - rm -rf
  • willemt/file2str - reads a file and returns contents as a string
  • willemt/stubfile - for managing the creation of files where the content of the files will be written to randomly
  • stephenmathieson/tempdir.c - An implementation of Python's tempfile.tempdir algorithm
  • willemt/pidfile - Create a pidfile
  • cxong/tinydir - Lightweight, portable and easy to integrate C directory and file reader
  • Isty001/copy - Copies files, directories recursively

Hashing

  • jwerle/murmurhash.c - MurmurHash3 general hash bashed lookup function implementation
  • clibs/sha1 - sha1 hash algorithm
  • jb55/sha256.c - sha256 hash algorithm
  • pepaslabs/rhash_md5.c - md5 hash algorithm (from RHash)
  • zackehh/siphash-c - SipHash hash algorithm
  • catb0t/fnv-hash - Fowler/Noll/Vo non-cryptographic hash algorithms

Net

  • aisk/libae - Async event loop library extract from from redis
  • jb55/anet.c - Basic TCP socket stuff made a bit less boring
  • willemt/raft - C implementation of the Raft consensus protocol
  • willemt/tracker-client - Connect to a bittorrent tracker
  • willemt/pwp - A Bittorrent peer wire protocol implementation
  • willemt/yabtorrent - Cross platform Bittorrent library
  • clibs/amp - Abstract Message Protocol C implementation
  • littlstar/request.cc - libcurl-backed HTTP request library for C++

Libraries

  • clibs/uv - Cross-platform asychronous I/O
  • clibs/leveldb - LevelDB is a fast key-value storage library written at Google that provides an ordered mapping from string keys to string values
  • clibs/ck - Concurrency primitives, safe memory reclamation mechanisms and non-blocking data structures designed to aid in the research, design and implementation of high performance concurrent systems.
  • beltex/libsmc - Apple System Management Controller (SMC) API
  • brendanashworth/r3 - high-performance path dispatching library for the web
  • qute/qute - AST generation library
  • clibs/sophia - modern embeddable key-value database
  • tzador/gl-matrix - Matrix and Vector library for High Performance OpenGL apps
  • erf/stb - stb single-file public domain libraries for C/C++

Program flow

  • jlcordeiro/threadpool - A simple thread pool implementation (POSIX)
  • jwerle/async.h - Asynchronous goodies built on libuv
  • stephenmathieson/batch.c - Simple async batch using pthreads
  • clibs/trigger - Simple event handling library.
  • thlorenz/ee.c - EventEmitter modeled after nodejs event emitter
  • stephenmathieson/emitter.c - Tiny event emitter
  • jwerle/throw.h - Create and throw errors easily
  • clibs/coro - Coroutines in C
  • tylertreat/chan - Pure C implementation of Go channels
  • trws/libdefer - Go-style defer in C
  • willemt/uv_multiplex - Let's share one TCP socket across multiple threads
  • willemt/bmon - Batch work from multiple threads
  • guillermocalvo/exceptions4c - An exception handling framework for C

Serialization

  • willemt/heapless-bencode - Bencode reader that doesn't use the heap
  • willemt/streaming-bencode - Bencode reader that loves working with streams

Testing/Quality Assurance

  • orangeduck/ptest - DRY Microtesting for C
  • clibs/debug - Conditional debug logging for C
  • stephenmathieson/debug.c - Conditional debugging for C (again)
  • hij1nx/debug - Conditional debug logging for C++
  • stephenmathieson/describe.h - Simple BDD testing utility
  • jwerle/libok - Super tiny tap output library
  • thlorenz/tap.c - tap test runner
  • jlcordeiro/minunit - A minimal, header-only, unit testing framework.
  • stephenmathieson/assertion-macros.h - simple assertion macros (assert_equal, assert_str_equal, etc.)
  • silentbicycle/greatest - A C unit testing library in 1 file. No dependencies, no dynamic allocation
  • willemt/cutest - C unit testing
  • jeradesign/MinUnit - JTN002: A minimal unit testing framework for C
  • compiler-dept/speck - A small unit testing framework for C

Timing

  • clibs/timestamp - millisecond resolution timestamps
  • clibs/bench.h - get wall and cpu time for benchmarking
  • clibs/timer - timer with microsecond resolution
  • willemt/event-timer - A timer that fires events based off time
  • brendanashworth/bench - easy to use, beautiful-looking benchmarking library
  • opal-instruments/tiny-midi-clock - A small MIDI Beat Clock implementation with millisecond precision.

Executables

  • visionmedia/watch - periodically execute commands
  • visionmedia/mon - simple process monitoring
  • visionmedia/histo - display histograms from static or streaming input
  • jb55/extname - get file extensions from arguments, see jb55/extname.c for library
  • jb55/samp - Sample input given some probability
  • jb55/pidpath - Get the executable path from a pid on OSX
  • sphia/sphia - Command line utility for operations on a sophia database
  • stephenmathieson/tabs-to-spaces - convert tabs to spaces in files
  • stephenmathieson/sophia-repl - REPL for Sophia databases
  • hij1nx/ldb - A c++ repl for leveldb
  • tomerdmnt/levelfs - leveldb FUSE filesystem
  • jonathanmarvens/netmask-tool - Simple netmask utility.
  • lavoiesl/osx-cpu-temp - Outputs current CPU temperature in °C for OSX
  • clibs/entr - A utility for running arbitrary commands when files change
  • stephenmathieson/ghi - less opinionated clib-install for non clib-enabled repos
  • remis-thoughts/shared-lib - A cross=platform tool for generating compiler options when creating shared libraries
  • jwerle/suri - Set and get application URI schemes for OS X
  • wooorm/stmr - Porter Stemmer CLI
  • andik/makeheaders - make headers from .c source files (from http://www.hwaci.com/sw/mkhdr/)
  • wooorm/levenshtein - Levenshtein’s string edit distance algorithm CLI
  • nilsding/cnsc - C No Scope Commits: Angular commits minus scope and stuff
  • glisy/glisy-earth - Glisy example rendering glsl-earth and using glsl-fog for fade in effects.
  • glisy/glsl-checker-blur - Glisy example using glsl-hash-blur and glsl-check from stack.gl

OS Specific

  • mattn/ansicolor-w32.c - ANSI color support on windows

Plugins

  • clibs/clib-uninstall - plugin for uninstalling executables
  • clibs/clib-validate - validate a package.json

Math

  • jb55/bresenham-line.c - Bresenham's line drawing algorithm
  • MauroMombelli/TrigonomeC - Basic implementation of 3d vector and quaternion
  • MauroMombelli/FreeDCM - An implementation of Direct Cosine Matrix, a fast orientation algorithm
  • willemt/minmax - min and max functions
  • glisy/math - Common linear algebra functions for OpenGL
  • littlstar/clamp - Macro to clamp a value between two other values

AVR

  • opal-instruments/max7219-avr - max7219 LED Driver for AVR devices.

OpenGL

  • glisy/glisy - Higher level operations for OpenGL
  • glisy/glfw-shell - Setup a GLFW context and render loop now
  • glisy/ease - Common easing functions
  • glisy/math - Common linear algebra functions for OpenGL
  • littlstar/sop - Simple OBJ Parser for deriving simplicial complexes and material data from .obj file formats exported from Blender/Max
  • littlstar/soil - Simple OpenGL Image Library

你可能感兴趣的:(编程)