prettier-plugin-noshift.js weekly downloads statistics
By otoneko1102 · npm · Prettier plugins
Prettier plugin for NoShift.js
prettier-plugin-noshift.js has 7 recorded weekly downloads on npm, a decrease of 12.5% over the past 30 days, ranking #2115 of 2,322 tracked listings.
About prettier-plugin-noshift.js
prettier-plugin-noshift.js
<div align="center"> <img src="https://raw.githubusercontent.com/otoneko1102/NoShift.js/refs/heads/main/icon.png" alt="noshift.js" width="128" height="128"> </div> <div align="center">English | 日本語
</div>A Prettier plugin for formatting NoShift.js (
.nsjs) files.
Prettier is an opinionated code formatter. This plugin adds support for .nsjs files — the NoShift.js joke language that lets you write JavaScript without pressing the Shift key.
[!Important]
⚠ Breaking Changes (v0.1.0): Syntax changes in NoShift.js v0.15.0 —^3is now#,^6is now Capitalize,^\is now_. New keyword aliases:or,and,@or,@and.
Install
npm install --save-dev prettier prettier-plugin-noshift.js
Usage
Add the plugin to your .prettierrc:
{
"plugins": ["prettier-plugin-noshift.js"]
}
Then format your .nsjs files:
npx prettier --write "**/*.nsjs"
Tip: If you scaffold a project with
nsc create, Prettier and this plugin are automatically installed and configured.
How It Works
The plugin uses a three-stage pipeline:
.nsjs→ JavaScript — convert NoShift.js syntax to standard JS- JavaScript → formatted JavaScript — format with Prettier's built-in babel parser
- formatted JavaScript →
.nsjs— convert back to NoShift.js syntax
All standard Prettier formatting options are forwarded to stage 2, so your existing config (semi, singleQuote, tabWidth, etc.) just works.
Example
Before (src/index.nsjs):
const x = 1 ;
function greet^8name^9 ^[
const msg=^2^6hello, ^2^;name;
console.log^8msg^9 ;
return msg ;
^]
After npx prettier --write:
const x ^- 1;
function greet^8name^9 ^[
const msg ^- ^2^6hello, ^2 ^; name;
console.log^8msg^9;
return msg;
^]
Supported Options
All standard Prettier options are supported. Common ones:
| Option | Default | Description |
|---|---|---|
semi | true | Add semicolons at the end of statements |
singleQuote | false | Use single quotes instead of double quotes |
tabWidth | 2 | Indentation width |
trailingComma | "all" | Trailing commas |
printWidth | 80 | Max line width |
bracketSpacing | true | Spaces inside object braces |
arrowParens | "always" | Arrow function parentheses |
endOfLine | "lf" | Line ending style |
Ecosystem / Links
- noshift.js (npm) — The Core Compiler CLI
- @noshift.js/lint (npm) — The Official Linter
- prettier-plugin-noshift.js (npm) — The Official Prettier Plugin
- VS Code Extension — Editor Support (Syntax Highlighting, Snippets)
- Website & Playground
- Repository
License
Description from the npm listing.
- noshift
- nsjs
- joke
- prettier
- prettier-plugin
- format
- formatter
- fmt
README badge
Show your rank in a README or on your website. The badge updates automatically.
Charts
Images: 30d · 1y · all time · 1600×900 dark
Adoption over time
7/30/90-day growth
Ranking history
Listing placement
Listing placement
Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.
Each band is one page of 20. Weekly downloads on a linear scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.
Recent observations
Full history (122)Similar npm Prettier plugins plugins
All 20 prettier-plugin-noshift.js alternativesData source
Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.
Listing: https://www.npmjs.com/package/prettier-plugin-noshift.js. First seen Oct 16, 2026; last successful collection Oct 20, 2026. See the methodology.