format pretty comment ## usage ```js const origin=` /** * ```js * let a = function b() {console.log("asd"); * }; * ``` * ```json * {name: 1 * } * ``` */` const prettyComment=require('pretty-comment') console.log(prettyComment(origin)) /** * ```j
process.hrtime() to words
Fork of pretty-format with support for ESM
See nodejs errors with less clutter
Prettifier for Pino log lines
Stringify any JavaScript value.
The best of both `JSON.stringify(obj)` and `JSON.stringify(obj, null, indent)`.
Get Pretty Quick
Pretty print messages on the terminal
Easily format the time from node.js `process.hrtime`. Works with timescales ranging from weeks to nanoseconds.
for adding, subtracting, and indexing discontinuous ranges of numbers
Convert bytes to other sizes for prettier logging
Convert bytes to a human readable string: 1337 → 1.34 kB
Convert milliseconds to a human readable string: `1337000000` → `15d 11h 23m 20s`
<h1 align="center"> <img alt="" width="75" src="https://github.com/cucumber.png"/> <br> pretty-formatter </h1> <p align="center"> <b>Rich formatting of Cucumber progress and results for the terminal</b> </p>
TypeScript definitions for pretty-hrtime
[![npm version][npm-v-src]][npm-v-href] [![npm downloads][npm-d-src]][npm-d-href] [![status][github-actions-src]][github-actions-href]
Beautiful code for your MD/MDX docs.
Some tweaks for beautifying HTML with js-beautify according to my preferences.
Clean up error stack traces
[![npm version][npm-v-src]][npm-v-href] [![npm downloads][npm-d-src]][npm-d-href] [![status][github-actions-src]][github-actions-href]
Enables pathmorphing / path animation in svg.js
Render prop types in a pretty way! Useful for storybook addons that display prop types.
Pretty formatter for ESLint
Programmatic XML construction with a clean DSL, auto-escaping, CDATA, comments, processing instructions, and pretty printing. Zero dependencies.
A little gem for generating pretty multiline comment boxes in C/C++ templates
Rack middleware to insert text comments into pages. First created to be used with jlong's serve, but should work with pretty much every rack app
The Blogger module provides services related to Blogger, and only blogger. The GData gem is great, but it provides a much lower-level interface to Google's Blogger API. With the Blogger gem, you have full access to the Blogger API, with easy to use classes, and it integrates with 6 different markup/markdown gems! What's more, you won't have to muck around with XML. Sure, XML is easy. But why waste time messing around with it? With just 3 or 4 lines of Blogger.gem code, you'll be able to take a markdown-formatted string and post it as a blog post, with categories, and comments. You can also search through all of your comments, old posts, and pretty much anything you can do at the blogger.com website, you can do with this gem.
= 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>
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.