https://github.com/mogeko/quine-js
This is a selfrep (quine) program.
https://github.com/mogeko/quine-js
Last synced: 4 months ago
JSON representation
This is a selfrep (quine) program.
- Host: GitHub
- URL: https://github.com/mogeko/quine-js
- Owner: mogeko
- License: mit
- Created: 2023-08-31T17:07:00.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2023-08-31T22:13:22.000Z (almost 3 years ago)
- Last Synced: 2025-12-08T13:55:49.574Z (8 months ago)
- Language: JavaScript
- Size: 17.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# quine-js
This is a selfrep (quine) program. It returns its own source code.
## Usage
As a Node.js module:
```js
import { quine } from "quine-js";
console.log(quine());
```
As a CLI tool:
```sh
npx quine-js
```
## References
- [Quines (self-replicating programs)](http://www.madore.org/%7Edavid/computers/quine.html)
## License
The code in this project is released under the [MIT License](./LICENSE).