Full Code of bevacqua/sixflix for AI

master dc6cd6b91c76 cached
4 files
2.7 KB
879 tokens
1 requests
Download .txt
Repository: bevacqua/sixflix
Branch: master
Commit: dc6cd6b91c76
Files: 4
Total size: 2.7 KB

Directory structure:
gitextract_waprjbki/

├── index.js
├── license
├── package.json
└── readme.markdown

================================================
FILE CONTENTS
================================================

================================================
FILE: index.js
================================================
var detection = 'class ಠ_ಠ extends Array{constructor(j=`a`,...c){const q=(({u: e})=>{return {[`${c}`]:Symbol(j)};})({});super(j,q,...c)}}new Promise(f=>{const a=function*(){return "\\u{20BB7}".match(/./u)[0].length===2||!0};for (let z of a()){const [x,y,w,k]=[new Set(),new WeakSet(),new Map(), new WeakMap()];break}f(new Proxy({},{get:(h,i) =>i in h ?h[i]:"j".repeat(0o2)}))}).then(t => new ಠ_ಠ(t.d))'

var result

module.exports = function () {
  if (result === void 0) {
    try {
      eval(detection)
      result = true
    } catch (e) {
      result = false
    }
  }
  return result
}


================================================
FILE: license
================================================
The MIT License (MIT)

Copyright © 2017 Nicolas Bevacqua

Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.


================================================
FILE: package.json
================================================
{
  "name": "sixflix",
  "version": "1.0.3",
  "description": "Detects whether a host environment supports ES6",
  "main": "index.js",
  "scripts": {
    "test": "echo \"Error: no test specified\" && exit 1"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/bevacqua/sixflix.git"
  },
  "author": "Nicolás Bevacqua <nico@ponyfoo.com> (https://ponyfoo.com/)",
  "license": "MIT",
  "bugs": {
    "url": "https://github.com/bevacqua/sixflix/issues"
  },
  "homepage": "https://github.com/bevacqua/sixflix#readme"
}


================================================
FILE: readme.markdown
================================================
# sixflix

> 🎬 Detects whether a host environment supports ES6. [Algorithm by Netflix][algo].

# features

- detects ES6 support
- extremely tiny

# install

```shell
npm install sixflix --save
```

# api

`require('sixflix')` returns a function. calling this function returns `true` if the host environment supports ES6, `false` otherwise.

# related

- [Netflix JavaScript Talks - Transpilers: Bridge to the Future][talk]

# license

mit

[algo]: https://gist.github.com/DaBs/89ccc2ffd1d435efdacff05248514f38
[talk]: https://www.youtube.com/watch?v=M1qm-AWWu-M&feature=youtu.be&t=50m14s
Download .txt
gitextract_waprjbki/

├── index.js
├── license
├── package.json
└── readme.markdown
Condensed preview — 4 files, each showing path, character count, and a content snippet. Download the .json file or copy for the full structured content (3K chars).
[
  {
    "path": "index.js",
    "chars": 593,
    "preview": "var detection = 'class ಠ_ಠ extends Array{constructor(j=`a`,...c){const q=(({u: e})=>{return {[`${c}`]:Symbol(j)};})({});"
  },
  {
    "path": "license",
    "chars": 1081,
    "preview": "The MIT License (MIT)\n\nCopyright © 2017 Nicolas Bevacqua\n\nPermission is hereby granted, free of charge, to any person ob"
  },
  {
    "path": "package.json",
    "chars": 540,
    "preview": "{\n  \"name\": \"sixflix\",\n  \"version\": \"1.0.3\",\n  \"description\": \"Detects whether a host environment supports ES6\",\n  \"main"
  },
  {
    "path": "readme.markdown",
    "chars": 589,
    "preview": "# sixflix\n\n> 🎬 Detects whether a host environment supports ES6. [Algorithm by Netflix][algo].\n\n# features\n\n- detects ES6"
  }
]

About this extraction

This page contains the full source code of the bevacqua/sixflix GitHub repository, extracted and formatted as plain text for AI agents and large language models (LLMs). The extraction includes 4 files (2.7 KB), approximately 879 tokens. Use this with OpenClaw, Claude, ChatGPT, Cursor, Windsurf, or any other AI tool that accepts text input. You can copy the full output to your clipboard or download it as a .txt file.

Extracted by GitExtract — free GitHub repo to text converter for AI. Built by Nikandr Surkov.

Copied to clipboard!