Displaying 1 to 20 from 23 results

js-dejavu - A set of object-oriented tools for JavaScript

  •    Javascript

NOTE: This project is deprecated and is no longer mantained.Have you ever had the feeling that you're seeing something you've already seen before? That's the feeling you get when using dejavu.

abstract-leveldown - An abstract prototype matching the leveldown API

  •    Javascript

An abstract prototype matching the leveldown API. Useful for extending levelup functionality by providing a replacement to leveldown.abstract-leveldown provides a simple, operational noop base prototype that's ready for extending. By default, all operations have sensible "noops" (operations that essentially do nothing). For example, simple operations such as .open(callback) and .close(callback) will simply invoke the callback (on a next tick). More complex operations perform sensible actions, for example: .get(key, callback) will always return a 'NotFound' Error on the callback.

static-eval - evaluate statically-analyzable expressions

  •    Javascript

Evaluate the esprima-parsed abstract syntax tree object ast with an optional collection of variables vars to use in the static expression resolution.If the expression contained in ast can't be statically resolved, evaluate() returns undefined.




erroz - Create abstract errors with meta-data, stack-traces and speaking error-messages.

  •    Javascript

Typical strategies of parsing errors are fragile and couple code to the error messages. By defining error objects consistently, working with errors becomes predictable and efficient. The name displayed when the error is thrown.

Class

  •    Javascript

This project is essentially deprecated in favor of ES6 classes. I recommend using Babel for pure JS, or TypeScript to create to create classes from now on. JavaScript doesn't make it easy or straightforward to implement classical inheritance in the language, so that's what this utility is for. Using this utility, and OOP in general, allows you to more easily write reusable, extensible, maintainable, and testable code, which is fundamental for writing and maintaining large software systems.


bufferstreams - Abstract streams to deal with the whole buffered contents.

  •    Javascript

Abstract streams to deal with the whole buffered contents. bufferstreams abstracts streams to allow you to deal with their whole content in a single buffer when it becomes necessary (by example: a legacy library that do not support streams).

shift-traverse-js - traversal functionality for the Shift AST format

  •    Javascript

This module provides traversal functionality similar to estraverse for a Shift format AST. Copyright (C) 2012-2014 Yusuke Suzuki (twitter: @Constellation) and other contributors.

router-base - Base router for your JS framework or frameworkless app

  •    Javascript

It's abstract and knows nothing about http. It's just matches and generates urls.

es-abstract - ECMAScript spec abstract operations.

  •    Javascript

ECMAScript spec abstract operations. When different versions of the spec conflict, the default export will be the latest version of the abstract operation. All abstract operations will also be available under an es5/es2015/es2016 entry point, and exported property, if you require a specific version.

es-to-primitive - ECMAScript "ToPrimitive" algorithm. Provides ES5 and ES6 versions.

  •    Javascript

ECMAScript “ToPrimitive” algorithm. Provides ES5 and ES6 versions. When different versions of the spec conflict, the default export will be the latest version of the abstract operation. Alternative versions will also be available under an es5/es6/es7 exported property if you require a specific version.

google-docs-markup - Let journalists use Google Docs. End up with a structured document.

  •    HTML

Google Docs is fantastic for editing but icky for publishing. This library lets you decide how to convert your Google Doc to HTML (or any other format). google-docs-markup is a parser that outputs a JSON Array. You can render its output with any programming language. To use the parser, though, you'll need NodeJS, at least version 5.11.

django-treenode - Probably the best abstract model / admin for your tree based stuff.

  •    Python

Probably the best abstract model / admin for your tree based stuff. The TreeNodeModel abstract class adds many fields (prefixed with tn_ to prevent direct access) and public methods to your models.

vue-observable - IntersectionObserver, MutationObserver and PerformanceObserver in Vue.js

  •    Javascript

The <intersect> component will detect if a given element is in the viewport. And emit an event. The prepublish hook will ensure dist files are created before publishing. This way you don't need to commit them in your repository.

astq - Abstract Syntax Tree (AST) Query Engine

  •    Javascript

ASTq is an Abstract Syntax Tree (AST) query engine library for JavaScript, i.e., it allows you to query nodes of an arbitary AST-style hierarchical data structure with the help of a powerful XPath-inspired query language. ASTq can operate on arbitrary AST-style data structures through the help of pluggable access adapters. ASTq uses an XPath-inspired Domain Specific Language (DSL) for querying the supplied AST-style hierarchical data structure.