[Strips UTF-8 BOM](https://github.com/sindresorhus/strip-bom), uses [`graceful-fs`](https://github.com/isaacs/node-graceful-fs), and returns Promises.
text file transformer to load text file in test files
text file transformer to load text file in test files
Read and parse a JSON file
loads a BMFont file in Node and the browser
An arbitrary-precision Decimal type for JavaScript.
Convenient parsing for Fetch.
Detect the file type of a file, stream, or data
Autoload Config for PostCSS
easily create complex multi-column command-line-interfaces
Read and parse a YAML file.
WASI polyfill for browser and some wasm util
easily create complex multi-column command-line-interfaces
Dynamic script loading for browser
SDF-based text rendering for Three.js
Word-wrapping for javascript.
List of binary file extensions
Check if a file path is a binary file
List of text file extensions
Check if a file path is a text file
Minimal module to check if a file is executable.
Load tsconfig.json
Find and load configuration from a package.json property, rc file, TypeScript module, and more!
Modern copy to clipboard. No Flash. Just 2kb
A DSL for loading CSV text files into a database.
Load a text file, yaml fortmat file and eruby format file and expand it.
loaddat is a Ruby on Rails Rake task that loads data in <tablename>.dat into MySQL database that is defined in the database.yml file.
Maneki loads and parses any relevant text files in a given directory
HexaPDF is a pure Ruby library with an accompanying application for working with PDF files. In short, it allows creating new PDF files, manipulating existing PDF files, merging multiple PDF files into one, extracting meta information, text, images and files from PDF files, securing PDF files by encrypting them and optimizing PDF files for smaller file size or other criteria. HexaPDF was designed with ease of use and performance in mind. It uses lazy loading and lazy computing when possible and tries to produce small PDF files by default.
Uses a special text/package+html content type to load packages of javascript files.
Literate Ruby is a small preprocessor that allows embedding code within text files and then loading them as programs.
Studio Game is a simple text-based, fully random game. To install the gem, run `gem install pragma_studio_game-1.0.0.gem`. To play, run `studio_game` and choose the number of rounds. The players will be loaded from the `bin/players.csv` file. If you want to load your own players, pass the path as an argument to the `studio_game. Players should be provided with their names and health value, comma separated. At the end of the game, high scores will be sorted and written to the `high_scores.txt` file. To quit any time, type in `quit` or `exit`. To uninstall the gem, run `gem uninstall studio_game`.
This library performs diffs of CSV data, or any table-like source. Unlike a standard diff that compares line by line, and is sensitive to the ordering of records, CSV-Diff identifies common lines by key field(s), and then compares the contents of the fields in each line. Data may be supplied in the form of CSV files, or as an array of arrays. The diff process provides a fine level of control over what to diff, and can optionally ignore certain types of changes (e.g. changes in position). CSV-Diff is particularly well suited to data in parent-child format. Parent- child data does not lend itself well to standard text diffs, as small changes in the organisation of the tree at an upper level can lead to big movements in the position of descendant records. By instead matching records by key, CSV-Diff avoids this issue, while still being able to detect changes in sibling order. This gem implements the core diff algorithm, and handles the loading and diffing of CSV files (or Arrays of Arrays). It also supports converting data in XML format into tabular form, so that it can then be processed like any other CSV or table-like source. It returns a CSVDiff object containing the details of differences in object form. This is useful for projects that need diff capability, but want to handle the reporting or actioning of differences themselves. For a pre-built diff reporting capability, see the csv-diff-report gem, which provides a command-line tool for generating diff reports in HTML, Excel, or text formats.
A smart, static site generator that automatically manages dependencies to achieve blazing build times with minimal cognitive load. Only new and changed files, and files upstream of a changed dependency are processed. Renders markdown or embedded-Ruby (Erb-like) content as HTML. Supports templates (embedded & layout), which may be included within content sources or other templates. Document metadata may me added using a plain-text preamble of key-value pairs. Generates a complete website that can be served by the built-in WEBrick server.
= id3lib-ruby id3lib-ruby provides a Ruby interface to the id3lib C++ library for easily editing ID3 tags (v1 and v2) of MP3 audio files. The class documentation starts at ID3Lib::Tag. == Features * Read and write ID3v1 and ID3v2 tags * Simple interface for adding, changing and removing frames * Quick access to common text frames like title and performer * Custom data frames like attached picture (APIC) * Pretty complete coverage of id3lib's features * UTF-16 support (warning: id3lib writes broken UTF-16 frames) * Windows binary gem available The CHANGES file contains a list of changes between versions. == Installation See INSTALL. == Online Information The home of id3lib-ruby is http://id3lib-ruby.rubyforge.org == Usage require 'rubygems' require 'id3lib' # Load a tag from a file tag = ID3Lib::Tag.new('talk.mp3') # Get and set text frames with convenience methods tag.title #=> "Talk" tag.album = 'X&Y' tag.track = '5/13' # Tag is a subclass of Array and each frame is a Hash tag[0] #=> { :id => :TPE1, :textenc => 0, :text => "Coldplay" } # Get the number of frames tag.length #=> 7 # Remove all comment frames tag.delete_if{ |frame| frame[:id] == :COMM } # Get info about APIC frame to see which fields are allowed ID3Lib::Info.frame(:APIC) #=> [ 2, :APIC, "Attached picture", #=> [:textenc, :mimetype, :picturetype, :description, :data] ] # Add an attached picture frame cover = { :id => :APIC, :mimetype => 'image/jpeg', :picturetype => 3, :description => 'A pretty picture', :textenc => 0, :data => File.read('cover.jpg') } tag << cover # Last but not least, apply changes tag.update! == Licence This library has Ruby's licence: http://www.ruby-lang.org/en/LICENSE.txt == Author Robin Stocker <robinstocker at rubyforge.org>
A simple text-based game that you can run from the command line. Runs a list of players (either those provided, or that you can provide via a '.csv' file that you then name as a command line argument when loading the program), through a series of 'rounds', the number of which you can choose as the game runs. Each player is 'w00ted', 'blammed', or 'skipped' and receives a treasure. High-scores are printed out to the console upon exiting the game. They are also saved to a file ('high_scores.txt') in the top-level folder of the application. Created while doing the Ruby Programming course from Pragmatic Studio.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.