jamestalmage / jamestalmage/__power-assert-plugin-model

simplest usage

Open
#2 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

I want to provide simplest usage for average users, and detailed usage for advenced users.

So, I want to provide

``` js
var assert = require('power-assert');
assert.ok(true);
```

rather than

``` js
var loader = require('power-assert-loader');
var assert = loader.loadLibrary('assert');
assert.ok(true);
```

pros:
- absolute simplicity
- easy to run with browsers (when we provide browser build)

cons:
- What do you think? @jamestalmage

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by comparing the proposed `require('power-assert')` usage with the existing `power-assert-loader` and its `loadLibrary('assert')` entry point. Clarify whether the project should support the simpler API and browser builds, then document the accepted usage and define completion around an agreed design.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
developer-experience
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.