<commit_before>import hooks from '../hooks';
<% if (database && (database !== 'Memory' && database !== 'NeDB')) { %>import User from '../models/user';<% } %>
<% if (database === 'Memory') { %>
import service from 'feathers-memory';
const User = {};
<% } %>
<% if (database === 'NeDB') { %>
import NeDB from 'feathers-nedb';
import service from 'feathers-nedb';
let User = new NeDB({
  filename: './data/users.db',
  autoload: true
});
<% } %><% if (database === 'MongoDB') { %><commit_msg>fixing initialization of nedb service<commit_after>import hooks from '../hooks';
<% if (database && (database !== 'Memory' && database !== 'NeDB')) { %>import User from '../models/user';<% } %>
<% if (database === 'Memory') { %>
import service from 'feathers-memory';
const User = {};
<% } %>
<% if (database === 'NeDB') { %>
import NeDB from 'nedb';
import service from 'feathers-nedb';
let User = new NeDB({
  filename: './data/users.db',
  autoload: true
});
<% } %><% if (database === 'MongoDB') { %>
{'fraction_non_alphanumeric': 0.24269889224572003, 'fraction_numerical': 0.0, 'mean_word_length': 4.344086021505376, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 17, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5975389', 'n_tokens_mistral': 340, 'n_tokens_neox': 322, 'n_words': 94}