Showing 142 open source projects for "string"

View related business solutions
  • $300 Free Credits for Your Google Cloud Projects Icon
    $300 Free Credits for Your Google Cloud Projects

    Start building on Google Cloud with $300 in free credits. No commitment, no credit card required until you're ready to scale.

    Launch your next project with $300 in free Google Cloud credits—no strings attached. Test, build, and deploy without risk. Use your credits across the entire Google Cloud platform to find what works best for your needs. After your credits are used, continue with always-free tier services. Only pay when you're ready to scale. Sign up in minutes and start exploring.
    Start Free Trial
  • Train ML Models With SQL You Already Know Icon
    Train ML Models With SQL You Already Know

    BigQuery automates data prep, analysis, and predictions with built-in AI assistance.

    Build and deploy ML models using familiar SQL. Automate data prep with built-in Gemini. Query 1 TB and store 10 GB free monthly.
    Try Free
  • 1
    magic-string

    magic-string

    Manipulate strings like a wizard

    ...This makes it especially useful when generated output still needs to map back to the original source for debugging. Magic String works in both Node.js and browser environments. Its main value is making code manipulation precise, fast, and source-map-friendly for build tools and language tooling.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 2
    morgan

    morgan

    HTTP request logger middleware for node.js

    ...Installation is done using the npm install command. Create a new morgan logger middleware function using the given format and options. The format argument may be a string of a predefined name, a string of a format string, or a function that will produce a log entry. The format function will be called with three arguments tokens, req, and res, where tokens is an object with all defined tokens, req is the HTTP request and res is the HTTP response. The function is expected to return a string that will be the log line, or undefined / null to skip logging. ...
    Downloads: 0 This Week
    Last Update:
    See Project
  • 3
    cookie

    cookie

    HTTP server cookie parsing and serialization

    Basic HTTP cookie parser and serializer for HTTP servers. This is a Node.js module available through the npm registry. Installation is done using the npm install command. Parse an HTTP Cookie header string and return an object of all cookie name-value pairs. The str argument is the string representing a Cookie header value and options is an optional object containing additional parsing options. Specifies a function that will be used to decode a cookie's value. Since the value of a cookie has a limited character set (and must be a simple string), this function can be used to decode a previously-encoded cookie value into a JavaScript string or other object. ...
    Downloads: 0 This Week
    Last Update:
    See Project
  • 4
    Node Redis

    Node Redis

    A high performance Node.js Redis client

    ...Node Redis currently doesn't natively support promises (this is coming in v4), however you can wrap the methods you want to use with promises using the built-in Node.js util.promisify method on Node.js >= v8. Care should be taken with user input if arrays are possible (via body-parser, query string or other method), as single arguments could be unintentionally interpreted as multiple args. Minimal parsing is done on the replies. Commands that return a integer return JavaScript Numbers, arrays return JavaScript Array. HGETALL returns an Object keyed by the hash keys. All strings will either be returned as string or as buffer depending on your setting.
    Downloads: 0 This Week
    Last Update:
    See Project
  • Go from Code to Production URL in Seconds Icon
    Go from Code to Production URL in Seconds

    Cloud Run deploys apps in any language instantly. Scales to zero. Pay only when code runs.

    Skip the Kubernetes configs. Cloud Run handles HTTPS, scaling, and infrastructure automatically. Two million requests free per month.
    Try it free
  • 5
    basic-auth

    basic-auth

    Generic basic auth Authorization header field parser

    ...The Authorization header is parsed and if the header is invalid, undefined is returned, otherwise an object with name and pass properties. Parse a basic auth authorization header string. This will return an object with name and pass properties, or undefined if the string is invalid.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 6
    Wretch

    Wretch

    A tiny wrapper built around fetch with an intuitive syntax

    ...Wretch is compatible with modern browsers out of the box. For older environments without fetch support, you should get a polyfill. Converts a javascript object to query parameters, then appends this query string to the current url. String values are used as the query string verbatim. Only compatible with browsers that support AbortControllers. Otherwise, you could use a (partial) polyfill. Associates a custom controller with the request. Useful when you need to use your own AbortController, otherwise wretch will create a new controller itself. ...
    Downloads: 0 This Week
    Last Update:
    See Project
  • 7
    Chalk

    Chalk

    Terminal string styling done right

    ...If you want to use Chalk with TypeScript or a build tool, you will probably want to use Chalk 4 for now. Chalk comes with an easy to use composable API where you just chain and nest the styles you want. Chain styles and call the last one as a method with a string argument. Order doesn't matter, and later styles take precedent in case of a conflict. This simply means that chalk.red.yellow.green is equivalent to chalk.green. Color support is automatically detected, but you can override it by setting the level property. You should however only do this in your own code as it applies globally to all Chalk consumers. ...
    Downloads: 2 This Week
    Last Update:
    See Project
  • 8
    DOMPurify

    DOMPurify

    XSS sanitizer for HTML, MathML and SVG

    A DOM-only, super-fast, uber-tolerant XSS sanitizer for HTML, SVG and MathML. It's also very simple to use and get started with. DOMPurify was started in February 2014 and, meanwhile, has reached version 2.3.0. DOMPurify is written in JavaScript and works in all modern browsers (Safari (10+), Opera (15+), Internet Explorer (10+), Edge, Firefox and Chrome - as well as almost anything else using Blink or WebKit). It doesn't break on MSIE6 or other legacy browsers. It either uses a fall-back or...
    Downloads: 8 This Week
    Last Update:
    See Project
  • 9
    strip-json-comments

    strip-json-comments

    Strip comments from JSON. Lets you use comments in your JSON files

    Strip comments from JSON. Lets you use comments in your JSON files. It will replace single-line comments // and multi-line comments /**/ with whitespace. This allows JSON error positions to remain as close as possible to the original source.
    Downloads: 0 This Week
    Last Update:
    See Project
  • Ship Agents Faster Icon
    Ship Agents Faster

    Transform your applications and workflows into powerful agentic systems at global scale.

    Gemini Enterprise Agent Platform lets you rapidly build, scale, govern and optimize production-ready agents grounded in your organization's data. The platform enables developers to build custom or pre-built agents for virtually any use case. New customers get $300 in free credits.
    Get Started Free
  • 10
    Serialize JavaScript

    Serialize JavaScript

    Serialize JavaScript to a superset of JSON

    ...The code in this package began its life as an internal module to express-state. To expand its usefulness, it now lives as serialize-javascript — an independent package on npm. A primary feature of this package is to serialize code to a string of literal JavaScript which can be embedded in an HTML document by adding it as the contents of the script element. In order to make this safe, HTML characters and JavaScript line terminators are escaped automatically.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 11
    Typed.js

    Typed.js

    A JavaScript typing animation library

    ...You can pause in the middle of a string for a given amount of time by including an escape character. CSS animations are built upon initialization in JavaScript. But, you can customize them at your will!
    Downloads: 0 This Week
    Last Update:
    See Project
  • 12
    Juice

    Juice

    Juice inlines CSS stylesheets into your HTML source

    Given HTML, juice will inline your CSS properties into the style attribute. Juice has a number of functions based on whether you want to process a file, HTML string, or a cheerio document, and whether you want the juice to automatically get remote stylesheets, scripts, and image dataURIs to inline. To inline HTML without getting remote resources, using default options. Juice is exposed as a standard module, and from CLI with a smaller set of options.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 13
    Tempus Dominus

    Tempus Dominus

    A date/time picker widget

    ...The plugin provide a robust date and time picker designed to integrate into your project. The picker uses the format option to decide what components to show. Set format to LT, LTS or another valid MomentJs format string to display certain components. The picker uses MomentJs to determine the language string. You can use moment-with-locales or you can include whatever local file you need. Start of the week is based on the locale provided. This is defined by moment's locales. If you want to change it, create your own locale file or override. Looking for a template with the datepicker ready to go? ...
    Downloads: 0 This Week
    Last Update:
    See Project
  • 14
    Slugify

    Slugify

    Slugify a string

    Slugify is a JavaScript library that converts strings into URL-friendly slugs, handling various languages and special characters.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 15
    body-parser

    body-parser

    Node.js body parsing middleware

    ...As req.body's shape is based on user-controlled input, all properties and values in this object are untrusted and should be validated before trusting. For example, req.body.foo.toString() may fail in multiple ways, for example the foo property may not be there or may not be a string, and toString may not be a function and instead a string or other user input. The bodyParser object exposes various factories to create middlewares. All middlewares will populate the req.body property with the parsed body when the Content-Type request header matches the type option, or an empty object ({}) if there was no body to parse, the Content-Type was not matched, or an error occurred.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 16
    Nock

    Nock

    HTTP server mocking and expectations library for Node.js

    HTTP server mocking and expectations library for Node.js. Nock can be used to test modules that perform HTTP requests in isolation. For instance, if a module performs HTTP requests to a CouchDB server or makes HTTP requests to the Amazon API, you can test that module in isolation. Nock works by overriding Node's http.request function. Also, it overrides http.ClientRequest too to cover for modules that use it directly.
    Downloads: 8 This Week
    Last Update:
    See Project
  • 17
    SQLite compiled to JavaScript

    SQLite compiled to JavaScript

    A javascript library to run SQLite on the web

    ...However, it allows you to import any existing sqlite file, and to export the created database as a JavaScript typed array. sql.js uses emscripten to compile SQLite to webassembly (or to javascript code for compatibility with older browsers). It includes contributed math and string extension functions. sql.js can be used like any traditional JavaScript library. If you are building a native application in JavaScript (using Electron for instance), or are working in node.js, you will likely prefer to use a native binding of SQLite to JavaScript. A native binding will not only be faster because it will run native code, but it will also be able to work on database files directly instead of having to load the entire database.
    Downloads: 16 This Week
    Last Update:
    See Project
  • 18
    natural

    natural

    General natural language facilities for node

    "Natural" is a general natural language facility for nodejs. It offers a broad range of functionalities for natural language processing. Tokenizing, stemming, classification, phonetics, tf-idf, WordNet, string similarity, and some inflections are currently supported. It’s still in the early stages, so we’re very interested in bug reports, contributions and the like. Note that many algorithms from Rob Ellis’s node-nltools are being merged into this project and will be maintained from here onward. While most of the algorithms are English-specific, contributors have implemented support for other languages. ...
    Downloads: 0 This Week
    Last Update:
    See Project
  • 19
    react-markdown

    react-markdown

    Markdown component for React

    React component to render markdown. This package is a React component that can be given a string of markdown that it’ll safely render to React elements. You can pass plugins to change how markdown is transformed and pass components that will be used instead of normal HTML elements.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 20
    fast-json-stringify

    fast-json-stringify

    2x faster than JSON.stringify()

    ...Its performance advantage shrinks as your payload grows. It pairs well with flatstr, which triggers a V8 optimization that improves performance when eventually converting the string to a Buffer.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 21
    Normalize Node.js versions

    Normalize Node.js versions

    Normalize and validate Node.js versions

    Normalize and validate Node.js versions. Takes any version range as inputs such as 8, 8.5.0 or >=8 and returns a "major.minor.patch" string. Throws if the Node.js version does not exist. Base URL to fetch the list of available Node.js versions.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 22
    Prism

    Prism

    Lightweight, robust, elegant syntax highlighting

    Prism is a lightweight, extensible syntax highlighter, built with modern web standards in mind. It’s used in millions of websites, including some of those you visit daily.
    Downloads: 1 This Week
    Last Update:
    See Project
  • 23
    jsdom

    jsdom

    JavaScript implementation of various web standards, for use with Node

    ...The latest versions of jsdom require Node.js v10 or newer. To use jsdom, you will primarily use the JSDOM constructor, which is a named export of the jsdom main module. Pass the constructor a string. The resulting object is an instance of the JSDOM class, which contains a number of useful properties and methods besides window. In general, it can be used to act on the jsdom from the "outside," doing things that are not possible with the normal DOM APIs. For simple cases, where you don't need any of this functionality, we recommend a coding pattern.
    Downloads: 4 This Week
    Last Update:
    See Project
  • 24
    Cookie Parser

    Cookie Parser

    Parse HTTP request cookies

    Parse Cookie header and populate req.cookies with an object keyed by the cookie names. Optionally you may enable signed cookie support by passing a secret string, which assigns req.secret so it may be used by other middleware. A middleware for Express.js that parses cookies from HTTP requests and makes them accessible in req.cookies.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 25
    fast-xml-parser

    fast-xml-parser

    Validate XML, Parse XML and Build XML rapidly

    Validate XML, Parse XML to JS Object, or Build XML from JS Object without C/C++ based libraries and no callback.
    Downloads: 0 This Week
    Last Update:
    See Project